[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