diff --git a/module.nix b/module.nix index 26553b5..5c9dbd5 100644 --- a/module.nix +++ b/module.nix @@ -58,6 +58,8 @@ in { wantedBy = [ "graphical-session.target" ]; after = [ "graphical-session.target" ]; path = with pkgs; [ nettools xprintidle ]; + restartIfChanged = true; + restart = "always"; serviceConfig = { ExecStart = pkgs.writeShellScript "launch-wallfly.sh" '' ${pkgs.wallfly}/bin/wallfly \