diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-06-01 18:31:17 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-06-01 18:49:43 +0200 |
commit | d120ce478dc0043c89899799b5c1aaf62901bea9 (patch) | |
tree | 23c26a8fd113379dc38d708420cf3975c441bf38 /units | |
parent | units: set DefaultDependencies=no for veritysetup slice (diff) | |
download | systemd-d120ce478dc0043c89899799b5c1aaf62901bea9.tar.xz systemd-d120ce478dc0043c89899799b5c1aaf62901bea9.zip |
units: don't stop blockdev@.target unit at shutdown
We want that cryptsetup/veritysetup devices can stick around until the
very end, as well as the users of them which might depend on
blockdev@.target for the devices. Hence leave the targets around till
the very end.
Note that their runtime is managed via StopWhenUnneeded= anyway, hence
unless their are volumes that actually survive still the very end they
target units will still be stopped.
Diffstat (limited to 'units')
-rw-r--r-- | units/blockdev@.target | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/blockdev@.target b/units/blockdev@.target index ddc85bf890..1c86506351 100644 --- a/units/blockdev@.target +++ b/units/blockdev@.target @@ -10,4 +10,5 @@ [Unit] Description=Block Device Preparation for %f Documentation=man:systemd.special(7) +DefaultDependencies=no StopWhenUnneeded=yes |