diff options
author | Ben Sima <ben@bsima.me> | 2021-03-29 17:58:20 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2021-03-29 17:58:20 -0400 |
commit | 7fc152b31ddc236de2528a9c804497e3f4a08238 (patch) | |
tree | 8803217b242d6a641972ce6e6286353967e4cbd7 | |
parent | 3c6a5cbe147233934d6b5e2a6359b7d479a1e97d (diff) |
Always restart que.run services
Hopefully this will keep the service online, even if it drops connection with
the client or something occasionally.
-rw-r--r-- | Biz/Que/Host.nix | 2 | ||||
-rw-r--r-- | 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"; }; }; |