Skip to content

Instantly share code, notes, and snippets.

@ldcc
Forked from ygmpkk/sslocal.service
Last active May 24, 2019 03:20
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 ldcc/791d29e052c1ea71d262c8aa3c501169 to your computer and use it in GitHub Desktop.
Save ldcc/791d29e052c1ea71d262c8aa3c501169 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/local/bin/sslocal -c /etc/shadowsocks/client.json
PIDFil=/var/run/sslocal.pid
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment