From 7fc152b31ddc236de2528a9c804497e3f4a08238 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 29 Mar 2021 17:58:20 -0400 Subject: Always restart que.run services Hopefully this will keep the service online, even if it drops connection with the client or something occasionally. --- Biz/Que/Host.nix | 2 +- Biz/Que/Site.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Biz/Que/Host.nix b/Biz/Que/Host.nix index 23dab65..3514554 100644 --- a/Biz/Que/Host.nix +++ b/Biz/Que/Host.nix @@ -39,7 +39,7 @@ in EnvironmentFile = "/run/que/env"; KillSignal = "INT"; Type = "simple"; - Restart = "on-abort"; + Restart = "always"; RestartSec = "1"; }; }; diff --git a/Biz/Que/Site.nix b/Biz/Que/Site.nix index ba2eeb2..0bf1613 100644 --- a/Biz/Que/Site.nix +++ b/Biz/Que/Site.nix @@ -53,7 +53,7 @@ in Environment = "HOME=/root"; KillSignal = "INT"; Type = "simple"; - Restart = "on-abort"; + Restart = "always"; RestartSec = "1"; }; }; -- cgit v1.2.3