1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| vi /etc/systemd/system/frpc.service
[Unit] Description=The nginx HTTP and reverse proxy server After=network.target remote-fs.target nss-lookup.target
[Service] Type=simple ExecStart=/home/frp/frp_0.37.0_linux_amd64/frpc -c /home/frp/frp_0.37.0_linux_amd64/frpc.ini KillSignal=SIGQUIT TimeoutStopSec=5 KillMode=process PrivateTmp=true StandardOutput=syslog StandardError=inherit
[Install] WantedBy=multi-user.target
|