mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
fix typo
This commit is contained in:
parent
24352b6148
commit
00de8d884f
@ -3,9 +3,10 @@ Description=frp client
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=nobody
|
||||
ExecStart=/usr/local/bin/frpc -c /etc/frp/frpc.ini
|
||||
ExecReload=/usr/local/bin/frpc reload -c /etc/frp/frpc.ini
|
||||
LimitNOFILE=65535
|
||||
LimitNOFILE=65536
|
||||
RestartSec=5
|
||||
Restart=always
|
||||
|
||||
|
14
frp/systemd/frpc@.service
Normal file
14
frp/systemd/frpc@.service
Normal file
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Frp Client Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=nobody
|
||||
ExecStart=/usr/local/bin/frpc -c /etc/frp/%i.ini
|
||||
ExecReload=/usr/local/bin/frpc reload -c /etc/frp/%i.ini
|
||||
LimitNOFILE=65536
|
||||
RestartSec=5
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -3,8 +3,9 @@ Description=frp server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=nobody
|
||||
ExecStart=/usr/local/bin/frps -c /etc/frp/frps.ini
|
||||
LimitNOFILE=65535
|
||||
LimitNOFILE=65536
|
||||
RestartSec=5
|
||||
Restart=always
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user