summarylogtreecommitdiffstats
path: root/weresync-daemon-gui.sh
diff options
context:
space:
mode:
authorDaniel Manila2019-06-23 19:32:02 -0400
committerDaniel Manila2019-06-23 19:44:47 -0400
commit228b25a5a6817d8aad84270b300c1d881ed6c649 (patch)
tree582b853890ec7c2cc827250d43ce980f14082382 /weresync-daemon-gui.sh
parent56d5ce14da3e870a102fa020485c1a5cd691a538 (diff)
downloadaur-weresync.tar.gz
Update to upstream version 1.1.5
Also add a lot of goodies to make this all work nicer.
Diffstat (limited to 'weresync-daemon-gui.sh')
-rwxr-xr-xweresync-daemon-gui.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/weresync-daemon-gui.sh b/weresync-daemon-gui.sh
new file mode 100755
index 000000000000..5f6eede936c3
--- /dev/null
+++ b/weresync-daemon-gui.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+if command -v pkexec; then
+ pkexec systemctl start weresync
+else
+ echo "pkexec not found, just attempting to start gui."
+fi
+/usr/bin/weresync-gui-only
+if command -v pkexec; then
+ pkexec systemctl stop weresync
+fi