Last active
July 3, 2020 07:53
-
-
Save palytoxin/13c8c55192df4e36cb46 to your computer and use it in GitHub Desktop.
shadowsocks.service
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
[Unit] | |
Description=Shadowsocks Server | |
After=network.target | |
[Service] | |
User=nobody | |
Group=nobody | |
ExecStart=/usr/bin/ssserver --pid-file /var/run/shadowsocks/redir.pid -c /etc/shadowsocks.json | |
Restart=on-failure | |
ExecReload=/bin/kill -HUP $MAINPID | |
KillMode=process | |
RestartSec=5s | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment