about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-11-04T23·13-0500
committertazjin <mail@tazj.in>2020-11-05T13·30+0000
commite39b7e002cb0e14f6bdaec78f4e6f6a4aa03d599 (patch)
tree919292db6ba9530030bd4213965415c5d940c215 /ops
parentb8c50979ddffb6b81c8bf44749603cdc77c1e0c9 (diff)
feat(ops/nixos/paroxysm): Set Restart = "always" r/1869
Sometimes (like today) paroxysm crashes. We'd like it to restart if that
happens.

Change-Id: I98841096bcd6605c4279744ae5c65a9c92092a21
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2069
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'ops')
-rw-r--r--ops/nixos/paroxysm.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/ops/nixos/paroxysm.nix b/ops/nixos/paroxysm.nix
index 949bfe6ecee0..24c5377a577a 100644
--- a/ops/nixos/paroxysm.nix
+++ b/ops/nixos/paroxysm.nix
@@ -20,6 +20,7 @@ in {
       serviceConfig = {
         DynamicUser = true;
         StateDirectory = "paroxysm";
+        Restart = "always";
       };
     };
   };