Created
June 9, 2013 08:19
-
-
Save shiny/5742782 to your computer and use it in GitHub Desktop.
launchctl load /Library/LaunchAgents/com.me.shadowsocks.plist 就会自动启动。
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
<?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.me.shadowsocks.startup</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/node</string> | |
<string>/Users/daijie/Documents/shadowsocks-nodejs/local.js</string> | |
<string>-k</string> | |
<string>password</string> | |
<string>-l</string> | |
<string>1080</string> | |
<string>-p</string> | |
<string>8388</string> | |
<string>-s</string> | |
<string>103.6.86.214</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