Skip to content

Instantly share code, notes, and snippets.

@TimothyYe
Last active May 11, 2016 08:59
Show Gist options
  • Save TimothyYe/fdf80f02bd866ccb54c979d24833abd6 to your computer and use it in GitHub Desktop.
Save TimothyYe/fdf80f02bd866ccb54c979d24833abd6 to your computer and use it in GitHub Desktop.
Shadowsocks server via systemd
[Unit]
Description=Shadowsocks Server
After=network.target
[Service]
ExecStart=/home/timothy/shadowsocks/shadowsocks-server -c /home/timothy/shadowsocks/config.json
Restart=always
User=timothy
Group=timothy
KillMode=process
RestartSec=2s
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment