Skip to content

Instantly share code, notes, and snippets.

@dorentus
Created May 14, 2014 08:13
Show Gist options
  • Save dorentus/5a33190c86e3e674d739 to your computer and use it in GitHub Desktop.
Save dorentus/5a33190c86e3e674d739 to your computer and use it in GitHub Desktop.
put inside $HOME/Library/LaunchAgents/
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>my.example.shadowsocks-libev</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/opt/shadowsocks-libev/bin/ss-local</string>
<string>-c</string>
<string>/usr/local/etc/shadowsocks-libev.json</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<false/>
</dict>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment