diff options
author | stuebinm | 2023-07-18 14:49:25 +0200 |
---|---|---|
committer | stuebinm | 2023-07-18 14:49:25 +0200 |
commit | ab3952d960bf5cdbec0a4f7d0c5316861692ba59 (patch) | |
tree | 413cdc079f1184c8fb96c77422364674951c59b0 /chaski/services/bahnhof-name.nix | |
parent | 2c1225ff26a344476d4c99542a1b38cf054c6fd8 (diff) |
bahnhof.name: restart if failed
Diffstat (limited to 'chaski/services/bahnhof-name.nix')
-rw-r--r-- | chaski/services/bahnhof-name.nix | 2 |
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} |