Skip to content

Instantly share code, notes, and snippets.

@Jimmy-Xu
Forked from ygmpkk/sslocal.service
Created February 20, 2016 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jimmy-Xu/e0589282ce6505410530 to your computer and use it in GitHub Desktop.
Save Jimmy-Xu/e0589282ce6505410530 to your computer and use it in GitHub Desktop.
ShadowSocks Client Systemd Service
[Unit]
Description=Daemon to start Shadowsocks Client
Wants=network-online.target
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/sslocal -c /etc/shadowsocks/client.json --pid-file /var/run/sslocal.pid --log-file /var/log/sslocal.log
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment