From 8f7dec1df14a475877b1e2822e3a270b3882b6d3 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 31 May 2018 05:59:46 +0000 Subject: [PATCH] node gives clean exit codes, so restart on failure --- dist/etc/systemd/system/telebitd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/etc/systemd/system/telebitd.service b/dist/etc/systemd/system/telebitd.service index 0adbb07..ce9531a 100644 --- a/dist/etc/systemd/system/telebitd.service +++ b/dist/etc/systemd/system/telebitd.service @@ -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