This commit is contained in:
cclinet 2017-10-16 12:47:20 +00:00 committed by GitHub
commit d912058d30

View file

@ -90,3 +90,18 @@ Apache License
[PyPI version]: https://img.shields.io/pypi/v/shadowsocks.svg?style=flat
[Travis CI]: https://travis-ci.org/shadowsocks/shadowsocks
# cat /usr/lib/systemd/system/shadowsocks@.service
[Unit]
Description=Shadowsocks Client Service
After=network.target
[Service]
Type=simple
User=nobody
ExecStart=/usr/bin/sslocal -c /etc/shadowsocks/%i.json
[Install]
WantedBy=multi-user.target