shadowsocks-libev/shadowsocks-libev-tunnel.service

14 lines
364 B
Desktop File

[Unit]
Description=Daemon to start Shadowsocks-libev-tunnel
Wants=network-online.target
After=network.target
[Service]
Type=forking
PIDFile=/var/run/shadowsocks-libev.pid
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