Merge pull request #288821 from tweag/systemd-notify-reload
nixos/systemd: Support notify-reload service Type
This commit is contained in:
commit
8986caf9da
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user