Skip to content

Commit fca9e8a

Browse files
committed
Disable KeepAlive.Crashed option to prevent unnecessary restarts
1 parent 9ba0d85 commit fca9e8a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

modules/age-home.nix

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,7 @@ in
233233
enable = true;
234234
config = {
235235
ProgramArguments = [ mountingScript ];
236-
KeepAlive = {
237-
Crashed = false;
238-
SuccessfulExit = false;
239-
};
236+
KeepAlive.SuccessfulExit = false;
240237
RunAtLoad = true;
241238
ProcessType = "Background";
242239
StandardOutPath = "${config.home.homeDirectory}/Library/Logs/agenix/stdout";

0 commit comments

Comments
 (0)