From 6fb48234e59ed1d69240e547d725792b468c82b1 Mon Sep 17 00:00:00 2001 From: jvyden Date: Sun, 15 May 2022 22:38:06 -0400 Subject: [PATCH] [skip ci] Add restart on failure to systemd units --- scripts-and-tools/project-lighthouse-api.service | 1 + scripts-and-tools/project-lighthouse-gameserver.service | 1 + scripts-and-tools/project-lighthouse-website.service | 1 + 3 files changed, 3 insertions(+) diff --git a/scripts-and-tools/project-lighthouse-api.service b/scripts-and-tools/project-lighthouse-api.service index 30ca1766..6f256554 100644 --- a/scripts-and-tools/project-lighthouse-api.service +++ b/scripts-and-tools/project-lighthouse-api.service @@ -7,6 +7,7 @@ Type=simple ExecStart=bash -c "/srv/lighthouse/start.sh API" TimeoutStopSec=15 User=lighthouse +Restart=on-failure [Install] Alias=lighthouse-api diff --git a/scripts-and-tools/project-lighthouse-gameserver.service b/scripts-and-tools/project-lighthouse-gameserver.service index 3a065355..d6bbb073 100644 --- a/scripts-and-tools/project-lighthouse-gameserver.service +++ b/scripts-and-tools/project-lighthouse-gameserver.service @@ -7,6 +7,7 @@ Type=simple ExecStart=bash -c "/srv/lighthouse/start.sh GameServer" TimeoutStopSec=15 User=lighthouse +Restart=on-failure [Install] Alias=lighthouse-website diff --git a/scripts-and-tools/project-lighthouse-website.service b/scripts-and-tools/project-lighthouse-website.service index f4bb1a87..9d453796 100644 --- a/scripts-and-tools/project-lighthouse-website.service +++ b/scripts-and-tools/project-lighthouse-website.service @@ -7,6 +7,7 @@ Type=simple ExecStart=bash -c "/srv/lighthouse/start.sh Website" TimeoutStopSec=15 User=lighthouse +Restart=on-failure [Install] Alias=lighthouse-website