summaryrefslogtreecommitdiffstats
path: root/scripts/lvm2_lvmetad_systemd_red_hat.service.in
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2012-03-16 15:12:04 +0000
committerPeter Rajnoha <prajnoha@redhat.com>2012-03-16 15:12:04 +0000
commitd837eebdccf48e0737ca4a1f3a26c18924ef8f04 (patch)
treeed5debdf6c7ad1c1179f16ab923bb59ac46af1ec /scripts/lvm2_lvmetad_systemd_red_hat.service.in
parent6bf324c4fdd95ab91b3c5b8a1787d43966ea0df7 (diff)
downloadlvm2-d837eebdccf48e0737ca4a1f3a26c18924ef8f04.tar.gz
lvm2-d837eebdccf48e0737ca4a1f3a26c18924ef8f04.tar.xz
lvm2-d837eebdccf48e0737ca4a1f3a26c18924ef8f04.zip
Use pvscan --cache instead of vgscan in lvmetad init script and systemd unit.
Diffstat (limited to 'scripts/lvm2_lvmetad_systemd_red_hat.service.in')
-rw-r--r--scripts/lvm2_lvmetad_systemd_red_hat.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lvm2_lvmetad_systemd_red_hat.service.in b/scripts/lvm2_lvmetad_systemd_red_hat.service.in
index 44827fde..e32c8a15 100644
--- a/scripts/lvm2_lvmetad_systemd_red_hat.service.in
+++ b/scripts/lvm2_lvmetad_systemd_red_hat.service.in
@@ -9,7 +9,7 @@ Conflicts=shutdown.target
Type=forking
NonBlocking=true
ExecStart=@sbindir@/lvmetad
-ExecStartPost=@sbindir@/vgscan
+ExecStartPost=@sbindir@/lvm pvscan --cache
ExecReload=@sbindir@/lvmetad -R
Environment=SD_ACTIVATION=1
Restart=on-abort