mirror of
https://github.com/vincenthsu/systemd-ngrok.git
synced 2025-05-07 12:06:10 +00:00
Always restart services
This commit is contained in:
parent
d246db2f5f
commit
67ceaccd4f
|
@ -6,7 +6,9 @@ After=network.target
|
||||||
ExecStart=/opt/ngrok/ngrok start --all --config /opt/ngrok/ngrok.yml
|
ExecStart=/opt/ngrok/ngrok start --all --config /opt/ngrok/ngrok.yml
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
KillMode=process
|
KillMode=process
|
||||||
Restart=on-failure
|
IgnoreSIGPIPE=true
|
||||||
|
Restart=always
|
||||||
|
RestartSec=3
|
||||||
Type=simple
|
Type=simple
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user