Skip to content

Instantly share code, notes, and snippets.

@mrnebbi
Created May 4, 2018 08:19
Show Gist options
  • Save mrnebbi/5a2bf8738406331d67a155078b8ce710 to your computer and use it in GitHub Desktop.
Save mrnebbi/5a2bf8738406331d67a155078b8ce710 to your computer and use it in GitHub Desktop.
Quick Synergy reset
#!/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