From 840b24a64207f9d766fb61e45ebb819bf82cce26 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Sun, 31 Mar 2024 13:55:13 -0600 Subject: [PATCH] module: always restart --- module.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module.nix b/module.nix index 7d34fbd..fd6027d 100644 --- a/module.nix +++ b/module.nix @@ -74,6 +74,8 @@ in { User = cfg.user; Group = cfg.group; + Restart = "always"; + ExecStart = '' ${cfg.package}/bin/kogs -listen ${cfg.listen} ${lib.optionalString (!cfg.registration) "-reg=false"} '';