Files
shadowsocks-rust/debian/shadowsocks-rust-server@.service
Simon Shi 3b09d7633d Debian package fixes (#73)
* General cleanup & Refine Makefile

* Add sysinit & systemd file

* refine readme

* Bump deb version
Use `dch -i` for this work.

* Fix dependency

* Unnecessary postrm

* Add missing arguments
2017-10-12 02:00:46 +08:00

19 lines
478 B
Desktop File

# This file is part of shadowsocks-rust.
#
# This is a template unit file. Users may copy and rename the file into
# config directories to make new service instances. See systemd.unit(5)
# for details.
[Unit]
Description=Shadowsocks-rust Custom Server Service for %I
After=network.target
[Service]
Type=simple
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
ExecStart=/usr/bin/ssserver --log-without-time -c /etc/shadowsocks-rust/%i.json
[Install]
WantedBy=multi-user.target