Skip to content

Instantly share code, notes, and snippets.

@Sen
Created May 20, 2013 05:52
Show Gist options
  • Save Sen/5610625 to your computer and use it in GitHub Desktop.
Save Sen/5610625 to your computer and use it in GitHub Desktop.
my shadowsocks plist
<?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>user.shadowsocks</string>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/node</string>
<string>/Users/sen/code/github/shadowsocks-nodejs/local.js</string>
</array>
</dict>
</plist>
@Sen
Copy link
Author

Sen commented May 20, 2013

put this file in ~/Library/LaunchAgents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment