Created
July 23, 2017 09:34
-
-
Save balthild/54402eaa38cbf39c2120d8e6d464ca0c to your computer and use it in GitHub Desktop.
Upstart configuration for shadowsocks-libev
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
description "shadowsocks-libev" | |
author "Max Lv <[email protected]>" | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
respawn | |
# normal exit -9999 | |
env CONFIG="/usr/local/etc/shadowsocks-libev/config.json" | |
script | |
exec /usr/local/bin/ss-server -c $CONFIG | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
適用於在 CentOS 6 上編譯安裝的
shadowsocks-libev
Configuration file:
/usr/local/etc/shadowsocks-libev/config.json
Start:
initctl start shadowsocks-libev
Stop:
initctl stop shadowsocks-libev
Restart:
initctl restart shadowsocks-libev