From 75fb53ccbc5e7d9c80dd8cda054e0c0c5e49e8cc Mon Sep 17 00:00:00 2001 From: "Fafner [_KeyZee_]" Date: Wed, 15 Dec 2021 21:34:02 +0100 Subject: [PATCH] Fixing cpeweb service in case of failure --- etc/systemd/system/cpeweb.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/systemd/system/cpeweb.service b/etc/systemd/system/cpeweb.service index be636d5..db778b6 100644 --- a/etc/systemd/system/cpeweb.service +++ b/etc/systemd/system/cpeweb.service @@ -10,7 +10,7 @@ ExecStart=python3 server.py User=$(CPE_USER) Group=$(CPE_USER) Type=simple -Restart=always +Restart=on-failure StandardOutput=append:/var/log/cpeweb_message.log StandardError=append:/var/log/cpeweb_error.log