添加 frpc.service
This commit is contained in:
parent
93cdf33bfc
commit
700f4e87f6
13
frpc.service
Normal file
13
frpc.service
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=FRP Client Service
|
||||||
|
After=network.target syslog.target
|
||||||
|
Wants=network.target
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
WorkingDirectory=/usr/local/frp
|
||||||
|
ExecStart=/usr/local/frp/frpc -c /usr/local/frp/frpc.toml
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Loading…
x
Reference in New Issue
Block a user