shadowsocks-rust/shadowsocks-rust-manager.service

14 lines
348 B
SYSTEMD
Raw Normal View History

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