shadowsocks-libev/shadowsocks-libev-nat.service

14 lines
359 B
Desktop File

[Unit]
Description=Daemon to start Shadowsocks-libev-nat
Wants=network-online.target
After=network.target
[Service]
Type=forking
PIDFile=/var/run/shadowsocks-libev-nat.pid
ExecStart=/usr/bin/ss-nat -c /etc/shadowsocks/shadowsocks-libev-config.json -f /var/run/shadowsocks-libev-nat.pid -u --fast-open
Restart=on-failure
[Install]
WantedBy=multi-user.target