1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

lvm2-pvscan: include --autoactivation event

in the pvscan --cache -aay command so that the use
of the command for event activation is explicit.
This commit is contained in:
David Teigland 2021-11-04 14:14:37 -05:00
parent f40fd88374
commit 5f7cb97743

View File

@ -10,5 +10,5 @@ Conflicts=shutdown.target
[Service] [Service]
Type=oneshot Type=oneshot
RemainAfterExit=yes RemainAfterExit=yes
ExecStart=@SBINDIR@/lvm pvscan --cache --activate ay %i ExecStart=@SBINDIR@/lvm pvscan --cache --activate ay --autoactivation event %i
ExecStop=@SBINDIR@/lvm pvscan --cache %i ExecStop=@SBINDIR@/lvm pvscan --cache %i