mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
Merge pull request #5849 from robberer/systemd/restartassert
systemd: extend checkUnitConfig with on-abnormal
This commit is contained in:
commit
9cd9264ef3
@ -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 New Issue
Block a user