2016-12-05 09:12:44 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Daemon to start Shadowsocks-libev-tunnel
|
|
|
|
Wants=network-online.target
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
2020-09-06 13:57:23 +02:00
|
|
|
PIDFile=/var/run/shadowsocks-libev-tunnel.pid
|
2016-12-05 09:12:44 +01:00
|
|
|
ExecStart=/usr/bin/ss-tunnel -c /etc/shadowsocks/shadowsocks-libev-config.json -f /var/run/shadowsocks-libev-tunnel.pid -u --fast-open
|
|
|
|
Restart=on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|