nixos/systemd: 242 supports Type = exec
This commit is contained in:
parent
1036dc6641
commit
eb55dd5e6b
@ -6,7 +6,7 @@ with import ./systemd-lib.nix { inherit config lib pkgs; };
|
|||||||
let
|
let
|
||||||
checkService = checkUnitConfig "Service" [
|
checkService = checkUnitConfig "Service" [
|
||||||
(assertValueOneOf "Type" [
|
(assertValueOneOf "Type" [
|
||||||
"simple" "forking" "oneshot" "dbus" "notify" "idle"
|
"exec" "simple" "forking" "oneshot" "dbus" "notify" "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