Created
May 4, 2018 08:19
-
-
Save mrnebbi/5a2bf8738406331d67a155078b8ce710 to your computer and use it in GitHub Desktop.
Quick Synergy reset
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Attempting to reset your Synergy services" | |
printf "Unloading Synergy service... " | |
launchctl unload /Library/LaunchAgents/com.symless.synergy.synergy-service.plist | |
echo "done!" | |
printf "Killing core... " | |
sudo killall synergy-core | |
echo "done!" | |
printf "Restarting Synergy... " | |
launchctl load /Library/LaunchAgents/com.symless.synergy.synergy-service.plist | |
sudo killall Synergy | |
open -n /Applications/Synergy.app | |
echo "all done 👍" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment