Skip to content

Instantly share code, notes, and snippets.

@gaoxt
Last active March 7, 2017 13:52
Show Gist options
  • Save gaoxt/881f0238e5e29c009c783a4a59cb74db to your computer and use it in GitHub Desktop.
Save gaoxt/881f0238e5e29c009c783a4a59cb74db to your computer and use it in GitHub Desktop.
shadowsocks.service
[Unit]
Description=Shadowsocks Server
After=network.target
[Service]
Type=forking
PIDFile=/run/ssserver.pid
ExecStart=/usr/bin/ssserver -c /etc/shadowsocks.json --pid-file /run/ssserver.pid -d start
Restart=on-abort
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment