-
-
Save jccode/4444af90d8ce61ab828474ec2aa103d6 to your computer and use it in GitHub Desktop.
Shadowsocks Upstart Example Script
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
# Ubuntu upstart file at /etc/init/sss.conf | |
description "Shadowsocks Server" | |
author "tpircsboy" | |
start on runlevel [2345] | |
stop on shutdown | |
respawn | |
respawn limit 10 5 | |
# Essentially lets upstart know the process will detach itself to the background | |
# expect daemon # fork | |
# setuid ssuser | |
# setgid ssuser | |
exec /usr/local/bin/ssserver -c /etc/shadowsocks.json >/var/log/ssserver.log 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment