[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