Merge pull request #288821 from tweag/systemd-notify-reload

nixos/systemd: Support notify-reload service Type
This commit is contained in:
Arian van Putten 2024-02-19 14:03:39 +01:00 committed by GitHub
commit 8986caf9da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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