From ab3952d960bf5cdbec0a4f7d0c5316861692ba59 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Tue, 18 Jul 2023 14:49:25 +0200 Subject: bahnhof.name: restart if failed --- chaski/services/bahnhof-name.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chaski/services') 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} -- cgit v1.2.3