forked from mirrors/nixpkgs
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
|
||||
checkService = checkUnitConfig "Service" [
|
||||
(assertValueOneOf "Type" [
|
||||
"simple" "forking" "oneshot" "dbus" "notify" "idle"
|
||||
"exec" "simple" "forking" "oneshot" "dbus" "notify" "idle"
|
||||
])
|
||||
(assertValueOneOf "Restart" [
|
||||
"no" "on-success" "on-failure" "on-abnormal" "on-abort" "always"
|
||||
|
|
Loading…
Reference in a new issue