We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d12b54d commit e34ce82Copy full SHA for e34ce82
synergysrestart
@@ -0,0 +1,13 @@
1
+#!/usr/bin/env bash
2
+
3
+# Stop existing synergys process, if it exists
4
+if pgrep -x "synergys" > /dev/null 2>&1; then
5
+ echo "Stopping existing Synergy server process"
6
+ pkill -x "synergys"
7
+else
8
+ echo "No existing Synergy server process located"
9
+fi
10
11
+# Start new synergys instance
12
+echo "Starting new Synergy server process"
13
+/usr/local/bin/synergys -c /etc/synergy.conf
0 commit comments