From 381bd390df27a57fedf240d6d4d4bfe4961e997d Mon Sep 17 00:00:00 2001 From: example Date: Wed, 31 Aug 2022 18:21:21 +0200 Subject: [PATCH] restart on failure --- source/server/apistatusd.service | 1 + 1 file changed, 1 insertion(+) diff --git a/source/server/apistatusd.service b/source/server/apistatusd.service index a76f4dc..33111bc 100644 --- a/source/server/apistatusd.service +++ b/source/server/apistatusd.service @@ -4,6 +4,7 @@ After=systemd-network.service network.target [Service] Type=simple +Restart=on-failure WorkingDirectory=/opt/doorstatus/ ExecStart=/opt/doorstatus/apistatusd.py SyslogIdentifier=doorstatus