]> sourceware.org Git - lvm2.git/commitdiff
lvm2-pvscan: include --autoactivation event
authorDavid Teigland <teigland@redhat.com>
Thu, 4 Nov 2021 19:14:37 +0000 (14:14 -0500)
committerDavid Teigland <teigland@redhat.com>
Thu, 4 Nov 2021 19:14:37 +0000 (14:14 -0500)
in the pvscan --cache -aay command so that the use
of the command for event activation is explicit.

scripts/lvm2-pvscan.service.in

index 09753e8c9ef143a0229af98508b4708030036de9..93749f7a7d45097498d7e1fb736eae0d0260afe6 100644 (file)
@@ -10,5 +10,5 @@ Conflicts=shutdown.target
 [Service]
 Type=oneshot
 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
This page took 0.032976 seconds and 5 git commands to generate.