Merge pull request #64806 from peterhoeg/f/exec

nixos/systemd: 242 supports Type = exec
This commit is contained in:
Peter Hoeg
2019-07-17 14:09:20 +07:00
committed by GitHub

View File

@@ -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"