diff options
author | Peter Hoeg <peter@hoeg.com> | 2019-07-17 14:09:20 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-17 14:09:20 +0700 |
commit | db858b4d3032aec35be7e98a65eb9b91b63671ef (patch) | |
tree | 5c30d65f564853e842c35cd4e8121e2de5290544 /nixos/modules/system | |
parent | 8801fb7be6b55d256be0e04cf30192f2822298d1 (diff) | |
parent | eb55dd5e6bbb1514a0ad534040845d9450df18a5 (diff) |
Merge pull request #64806 from peterhoeg/f/exec
nixos/systemd: 242 supports Type = exec
Diffstat (limited to 'nixos/modules/system')
-rw-r--r-- | nixos/modules/system/boot/systemd-unit-options.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd-unit-options.nix b/nixos/modules/system/boot/systemd-unit-options.nix index 63f974b704f..ee4ae845a7d 100644 --- a/nixos/modules/system/boot/systemd-unit-options.nix +++ b/nixos/modules/system/boot/systemd-unit-options.nix @@ -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" |