shadowsocks-rust/shadowsocks-rust-client.service

14 lines
343 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Daemon to start Shadowsocks-rust-client
Wants=network-online.target
After=network.target
[Service]
Type=forking
PIDFile=/var/run/shadowsocks-rust-client.pid
ExecStart=/usr/bin/sslocal -c /etc/shadowsocks/shadowsocks-rust.json -f /var/run/shadowsocks-rust-client.pid
Restart=on-failure
[Install]
WantedBy=multi-user.target