mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #5849 from robberer/systemd/restartassert
systemd: extend checkUnitConfig with on-abnormal
This commit is contained in:
commit
9cd9264ef3
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ let
|
|||
"simple" "forking" "oneshot" "dbus" "notify" "idle"
|
||||
])
|
||||
(assertValueOneOf "Restart" [
|
||||
"no" "on-success" "on-failure" "on-abort" "always"
|
||||
"no" "on-success" "on-failure" "on-abnormal" "on-abort" "always"
|
||||
])
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue