shadowsocks-rust/shadowsocks-rust-server.service

14 lines
344 B
SYSTEMD
Raw Normal View History

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