mirror of
https://github.com/systemd/systemd
synced 2024-10-01 13:55:20 +00:00
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.
This commit is contained in:
parent
7a2f3194ff
commit
d120ce478d
|
@ -10,4 +10,5 @@
|
|||
[Unit]
|
||||
Description=Block Device Preparation for %f
|
||||
Documentation=man:systemd.special(7)
|
||||
DefaultDependencies=no
|
||||
StopWhenUnneeded=yes
|
||||
|
|
Loading…
Reference in a new issue