mirror of https://github.com/fatedier/frp.git
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
|