mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-28 02:37:09 +00:00
launchd: add extra KeepAlive options
This commit is contained in:
parent
ef0e7f41cd
commit
176c446b97
1 changed files with 15 additions and 0 deletions
|
@ -194,6 +194,21 @@ with lib;
|
|||
'';
|
||||
};
|
||||
|
||||
Crashed = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
description = ''
|
||||
If true, the the job will be restarted as long as it exited due to a signal which is typically
|
||||
associated with a crash (SIGILL, SIGSEGV, etc.). If false, the job will be restarted in the
|
||||
inverse condition.
|
||||
'';
|
||||
};
|
||||
|
||||
AfterInitialDemand = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
};
|
||||
|
||||
};
|
||||
}));
|
||||
default = null;
|
||||
|
|
Loading…
Add table
Reference in a new issue