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