mirror of
https://github.com/fatedier/frp.git
synced 2024-12-13 02:00:55 +01:00
14 lines
208 B
SYSTEMD
14 lines
208 B
SYSTEMD
|
[Unit]
|
||
|
Description=Frp Server Service
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User=nobody
|
||
|
Restart=on-failure
|
||
|
RestartSec=5s
|
||
|
ExecStart=/usr/bin/frps -c /etc/frp/%i.ini
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|