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"} '';