summaryrefslogtreecommitdiffstats
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-06-01 18:31:17 +0200
committerLennart Poettering <lennart@poettering.net>2023-06-01 18:49:43 +0200
commitd120ce478dc0043c89899799b5c1aaf62901bea9 (patch)
tree23c26a8fd113379dc38d708420cf3975c441bf38 /units
parentunits: set DefaultDependencies=no for veritysetup slice (diff)
downloadsystemd-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@.target1
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