node gives clean exit codes, so restart on failure

This commit is contained in:
AJ ONeal 2018-05-31 05:59:46 +00:00
parent 9c57bac510
commit 8f7dec1df1
1 changed files with 1 additions and 1 deletions

View File

@ -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)
# Allow up to 3 restarts within 10 seconds
# (it's unlikely that a user or properly-running script will do this)
Restart=on-abnormal
Restart=on-failure
StartLimitInterval=10
StartLimitBurst=3