diff options
author | Peter Hoeg <peter@hoeg.com> | 2019-07-15 20:28:26 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2019-07-15 20:28:26 +0800 |
commit | eb55dd5e6bbb1514a0ad534040845d9450df18a5 (patch) | |
tree | 1c330bd8da8b3ae28316618ef999bf116657d369 /nixos | |
parent | 1036dc664169b32613ec11b58cc1740c7511a340 (diff) | |
download | nixlib-eb55dd5e6bbb1514a0ad534040845d9450df18a5.tar nixlib-eb55dd5e6bbb1514a0ad534040845d9450df18a5.tar.gz nixlib-eb55dd5e6bbb1514a0ad534040845d9450df18a5.tar.bz2 nixlib-eb55dd5e6bbb1514a0ad534040845d9450df18a5.tar.lz nixlib-eb55dd5e6bbb1514a0ad534040845d9450df18a5.tar.xz nixlib-eb55dd5e6bbb1514a0ad534040845d9450df18a5.tar.zst nixlib-eb55dd5e6bbb1514a0ad534040845d9450df18a5.zip |
nixos/systemd: 242 supports Type = exec
Diffstat (limited to 'nixos')
-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 63f974b704f3..ee4ae845a7d5 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" |