From c972fd5a778cf54aa8b1cbecc7ea9c724ed0be9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 22 Dec 2023 13:17:03 +0100 Subject: [PATCH] Update systemd.service --- conf/systemd.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/systemd.service b/conf/systemd.service index 2280860..f1072c5 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -19,6 +19,8 @@ Environment=ADMIN_USERNAME="__ADMIN__" Environment=ADMIN_PASS="__PASSWORD__" Environment=ADMIN_EMAIL="__EMAIL__" Environment=OVERWRITE_SETTING_Show_Setup_Wizard=completed +Restart=on-failure +RestartSec=1s # Sandboxing options to harden security # Depending on specificities of your service/app, you may need to tweak these