summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2021-11-04 14:14:37 -0500
committerDavid Teigland <teigland@redhat.com>2021-11-04 14:14:37 -0500
commit5f7cb977438891a073227d75029f61970b1710bd (patch)
tree8d0b95a3cb3f304295b870098af5d5e99c1a8a6c /scripts
parentf40fd88374fe1e911233e5a4fc79223d97decde0 (diff)
downloadlvm2-5f7cb977438891a073227d75029f61970b1710bd.tar.gz
lvm2-pvscan: include --autoactivation event
in the pvscan --cache -aay command so that the use of the command for event activation is explicit.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lvm2-pvscan.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lvm2-pvscan.service.in b/scripts/lvm2-pvscan.service.in
index 09753e8c9..93749f7a7 100644
--- a/scripts/lvm2-pvscan.service.in
+++ b/scripts/lvm2-pvscan.service.in
@@ -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