mirror of
https://github.com/fatedier/frp.git
synced 2024-11-27 20:49:10 +08:00
a4cfab689a
Ref https://github.com/fatedier/frp/issues/1058 Ref https://aur.archlinux.org/packages/frp/ Co-authored-by: vimsucks <dev@vimsucks.com>
15 lines
257 B
Desktop File
15 lines
257 B
Desktop File
[Unit]
|
|
Description=Frp Client Service
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=idle
|
|
User=nobody
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
ExecStart=/usr/bin/frpc -c /etc/frp/%i.ini
|
|
ExecReload=/usr/bin/frpc reload -c /etc/frp/%i.ini
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|