frp/conf/systemd/frps.service

19 lines
421 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Frp Server Service
2019-04-24 08:40:13 +08:00
#README.md
Documentation=https://github.com/fatedier/frp/blob/master/README.md
After=network.target
[Service]
Type=simple
2019-04-24 08:40:13 +08:00
#User=root #使用 root 可能会导致安全问题,不过可以使用前 1024 端口
User=nobody
Restart=on-failure
2019-04-24 08:40:13 +08:00
RestartSec=3s
ExecStart=/usr/bin/frps -c /etc/frp/frps.ini
[Install]
2019-04-24 08:40:13 +08:00
Alias=frpd.service
Alias=frp-server.service
WantedBy=multi-user.target