Last active
May 20, 2016 03:08
-
-
Save gengen1988/86d9301f9955d6b35d79fe6c47125b27 to your computer and use it in GitHub Desktop.
Mac OS X launchd plist for shadowsocks libev. Put it in /Library/LaunchDaemons
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
{ | |
"server": "server ip", | |
"server_port": server port, | |
"local_port": local port, | |
"password": "server password", | |
"timeout": timeout time, | |
"method": "encrypt method" | |
} |
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 Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>org.shadowsocks.libev</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/ss-local</string> | |
<string>-c=/etc/shadowsocks-libev/config.json</string> | |
</array> | |
<key>KeepAlive</key> | |
<false/> | |
<key>RunAtLoad</key> | |
<true/> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment