mirror of
https://gitee.com/IrisVega/frp.git
synced 2024-11-01 22:31:29 +08:00
15 lines
263 B
SYSTEMD
15 lines
263 B
SYSTEMD
|
[Unit]
|
||
|
Description=Frp Client Service
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User=nobody
|
||
|
Restart=on-failure
|
||
|
RestartSec=5s
|
||
|
ExecStart=/usr/bin/frpc -c /etc/frp/frpc.ini
|
||
|
ExecReload=/usr/bin/frpc reload -c /etc/frp/frpc.ini
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|