From 61fbeb7851c8f9495530c6a45cc060a20dbc910a Mon Sep 17 00:00:00 2001 From: cclinet Date: Sun, 23 Apr 2017 20:31:26 +0800 Subject: [PATCH] Update README.md --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 346e53e..dc9cf36 100644 --- a/README.md +++ b/README.md @@ -84,3 +84,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 +