frp/conf/systemd/frps.service
2019-04-24 08:40:13 +08:00

19 lines
421 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 #使用 root 可能会导致安全问题,不过可以使用前 1024 端口
User=nobody
Restart=on-failure
RestartSec=3s
ExecStart=/usr/bin/frps -c /etc/frp/frps.ini
[Install]
Alias=frpd.service
Alias=frp-server.service
WantedBy=multi-user.target