nixos/systemd: Support notify-reload service Type

Support for this was added in systemd 253:
https://github.com/systemd/systemd/releases/tag/v253
This commit is contained in:
Silvan Mosberger 2024-02-14 17:52:13 +01:00
parent f9d39fb9af
commit 1cd71881f2

View file

@ -6,7 +6,7 @@ with lib;
let
checkService = checkUnitConfig "Service" [
(assertValueOneOf "Type" [
"exec" "simple" "forking" "oneshot" "dbus" "notify" "idle"
"exec" "simple" "forking" "oneshot" "dbus" "notify" "notify-reload" "idle"
])
(assertValueOneOf "Restart" [
"no" "on-success" "on-failure" "on-abnormal" "on-abort" "always"