Skip to content

Instantly share code, notes, and snippets.

@chengyi
Forked from ygmpkk/sslocal.service
Created July 6, 2018 02:42
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 chengyi/dff1bc3adc2f3ab70db3854cbdcbaa8a to your computer and use it in GitHub Desktop.
Save chengyi/dff1bc3adc2f3ab70db3854cbdcbaa8a 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
@chengyi
Copy link
Author

chengyi commented Jul 6, 2018

copy to /etc/systemd/system/sslocal.service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment