diff options
| author | Michael Hoang <enzime@users.noreply.github.com> | 2022-08-24 18:45:06 +1000 |
|---|---|---|
| committer | Michael Hoang <enzime@users.noreply.github.com> | 2022-08-25 00:39:14 +1000 |
| commit | 176c446b97d0c784170586cc465f912e08d623a8 (patch) | |
| tree | 8acd666d2f8d874568fda081c17f788ad5029f6a /modules/launchd | |
| parent | ef0e7f41cdf8fae1d2390c4df246c90a364ed8d9 (diff) | |
launchd: add extra KeepAlive options
Diffstat (limited to 'modules/launchd')
| -rw-r--r-- | modules/launchd/launchd.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/launchd/launchd.nix b/modules/launchd/launchd.nix index a3ea918..72d3fbb 100644 --- a/modules/launchd/launchd.nix +++ b/modules/launchd/launchd.nix @@ -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; |
