mirror of
https://git.coolaj86.com/coolaj86/telebit-relay.js.git
synced 2025-04-22 03:20:37 +00:00
node gives clean exit codes, so restart on failure
This commit is contained in:
parent
9c57bac510
commit
8f7dec1df1
2
dist/etc/systemd/system/telebitd.service
vendored
2
dist/etc/systemd/system/telebitd.service
vendored
@ -13,7 +13,7 @@ Wants=network-online.target systemd-networkd-wait-online.service
|
|||||||
# Restart on crash (bad signal), but not on 'clean' failure (error exit code)
|
# Restart on crash (bad signal), but not on 'clean' failure (error exit code)
|
||||||
# Allow up to 3 restarts within 10 seconds
|
# Allow up to 3 restarts within 10 seconds
|
||||||
# (it's unlikely that a user or properly-running script will do this)
|
# (it's unlikely that a user or properly-running script will do this)
|
||||||
Restart=on-abnormal
|
Restart=on-failure
|
||||||
StartLimitInterval=10
|
StartLimitInterval=10
|
||||||
StartLimitBurst=3
|
StartLimitBurst=3
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user