summaryrefslogtreecommitdiff
path: root/chaski
diff options
context:
space:
mode:
Diffstat (limited to 'chaski')
-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}