mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
ee8fb0310c
event based autoactivation is now the only method that lvm provides for autoactivation. Setting lvm.conf event_activation=0 can still be used to disable event based autoactivation commands, but doing so will no longer enable static autoactivation.
16 lines
384 B
SYSTEMD
16 lines
384 B
SYSTEMD
[Unit]
|
|
Description=Availability of block devices
|
|
Before=shutdown.target
|
|
After=iscsi-shutdown.service iscsi.service iscsid.service fcoe.service rbdmap.service
|
|
DefaultDependencies=no
|
|
Conflicts=shutdown.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/true
|
|
ExecStop=@SBINDIR@/blkdeactivate -u -l wholevg -m disablequeueing -r wait
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=sysinit.target
|