Merge 7a8635e54c
into d5026cf5ef
This commit is contained in:
commit
9808516ab7
1 changed files with 14 additions and 0 deletions
14
utils/systemd/shadowsocks@.service
Normal file
14
utils/systemd/shadowsocks@.service
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Shadowsocks daemon %i
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/local/bin/ssserver -c /etc/shadowsocks/%i.json
|
||||||
|
Restart=on-failure
|
||||||
|
KillMode=process
|
||||||
|
KillSignal=SIGQUIT
|
||||||
|
TimeoutStopSec=10
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue