units: don't stop blockdev@.target unit at shutdown
authorLennart Poettering <lennart@poettering.net>
Thu, 1 Jun 2023 16:31:17 +0000 (18:31 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 1 Jun 2023 16:49:43 +0000 (18:49 +0200)
commitd120ce478dc0043c89899799b5c1aaf62901bea9
tree23c26a8fd113379dc38d708420cf3975c441bf38
parent7a2f3194ff0e2967a9a62d6fc8790e361407eec3
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.
units/blockdev@.target