summaryrefslogtreecommitdiff
path: root/chaski/services
diff options
context:
space:
mode:
authorstuebinm2023-07-18 14:49:25 +0200
committerstuebinm2023-07-18 14:49:25 +0200
commitab3952d960bf5cdbec0a4f7d0c5316861692ba59 (patch)
tree413cdc079f1184c8fb96c77422364674951c59b0 /chaski/services
parent2c1225ff26a344476d4c99542a1b38cf054c6fd8 (diff)
bahnhof.name: restart if failed
Diffstat (limited to 'chaski/services')
-rw-r--r--chaski/services/bahnhof-name.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/chaski/services/bahnhof-name.nix b/chaski/services/bahnhof-name.nix
index 9c0b6e2..d11f7ec 100644
--- a/chaski/services/bahnhof-name.nix
+++ b/chaski/services/bahnhof-name.nix
@@ -5,6 +5,8 @@
enable = true;
wantedBy = [ "multi-user.target" ];
serviceConfig.Type = "simple";
+ serviceConfig.Restart = "always";
+ serviceConfig.MemoryMax = "1G";
path = [ pkgs.bahnhof-name ];
script = ''
cd ${pkgs.bahnhof-name.outPath}