diff options
author | lethalman <lucabru@src.gnome.org> | 2015-01-19 11:48:48 +0100 |
---|---|---|
committer | lethalman <lucabru@src.gnome.org> | 2015-01-19 11:48:48 +0100 |
commit | 9cd9264ef35cdc53d09ea73b21aa23888c3f1319 (patch) | |
tree | 5a1b8155968e430407ead0e56869e0abd0ff3f4e /nixos | |
parent | 04be7262a62a413007fe6bf6e917a4e4d0f0df54 (diff) | |
parent | 4b0100774a12e5c92753080c3847a2da2923254a (diff) | |
download | nixlib-9cd9264ef35cdc53d09ea73b21aa23888c3f1319.tar nixlib-9cd9264ef35cdc53d09ea73b21aa23888c3f1319.tar.gz nixlib-9cd9264ef35cdc53d09ea73b21aa23888c3f1319.tar.bz2 nixlib-9cd9264ef35cdc53d09ea73b21aa23888c3f1319.tar.lz nixlib-9cd9264ef35cdc53d09ea73b21aa23888c3f1319.tar.xz nixlib-9cd9264ef35cdc53d09ea73b21aa23888c3f1319.tar.zst nixlib-9cd9264ef35cdc53d09ea73b21aa23888c3f1319.zip |
Merge pull request #5849 from robberer/systemd/restartassert
systemd: extend checkUnitConfig with on-abnormal
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 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" ]) ]; |