Skip to content

Instantly share code, notes, and snippets.

@ergatea
Created January 10, 2013 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ergatea/4504885 to your computer and use it in GitHub Desktop.
Save ergatea/4504885 to your computer and use it in GitHub Desktop.
shadowsocks startup for osx
<?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>KeepAlive</key>
<true/>
<key>OnDemand</key>
<false/>
<key>Label</key>
<string>com.tang.shadowsocks.startup</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/shadowsocks</string>
<string>-s</string>
<string>127.0.0.1</string>
<string>-p</string>
<string>8000</string>
<string>-l</string>
<string>1080</string>
<string>-k</string>
<string>password!</string>
<string>-f</string>
<string>/var/run/shadowsocks.pid</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment