frp/conf/systemd/frps_run-as_root.service
2019-05-06 11:32:59 +08:00

18 lines
334 B
Desktop File

[Unit]
Description=Frp Server Service
#README.md
Documentation=https://github.com/fatedier/frp/blob/master/README.md
After=network.target
[Service]
Type=simple
User=root
Restart=on-failure
RestartSec=3s
ExecStart=/usr/bin/frps -c /etc/frp/sfrps.ini
[Install]
Alias=sfrpd.service
Alias=sfrp-server.service
WantedBy=multi-user.target