From 4b0100774a12e5c92753080c3847a2da2923254a Mon Sep 17 00:00:00 2001 From: Longrin Wischnewski Date: Mon, 19 Jan 2015 11:41:18 +0100 Subject: [PATCH] systemd: extend checkUnitConfig with on-abnormal --- nixos/modules/system/boot/systemd-unit-options.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/systemd-unit-options.nix b/nixos/modules/system/boot/systemd-unit-options.nix index 20851c626d75..2f4786c78966 100644 --- a/nixos/modules/system/boot/systemd-unit-options.nix +++ b/nixos/modules/system/boot/systemd-unit-options.nix @@ -58,7 +58,7 @@ let "simple" "forking" "oneshot" "dbus" "notify" "idle" ]) (assertValueOneOf "Restart" [ - "no" "on-success" "on-failure" "on-abort" "always" + "no" "on-success" "on-failure" "on-abnormal" "on-abort" "always" ]) ];