Skip to content

Instantly share code, notes, and snippets.

@omegazeng
Forked from ygmpkk/sslocal.service
Last active February 1, 2019 09:43
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 omegazeng/0ef270e0e93ebee69a6d9609a79d29a9 to your computer and use it in GitHub Desktop.
Save omegazeng/0ef270e0e93ebee69a6d9609a79d29a9 to your computer and use it in GitHub Desktop.
ShadowSocks Client Systemd Service
# /etc/systemd/system/sslocal.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/config.json
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment