diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2012-03-16 15:12:04 +0000 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2012-03-16 15:12:04 +0000 |
commit | d837eebdccf48e0737ca4a1f3a26c18924ef8f04 (patch) | |
tree | ed5debdf6c7ad1c1179f16ab923bb59ac46af1ec /scripts/lvm2_lvmetad_systemd_red_hat.service.in | |
parent | 6bf324c4fdd95ab91b3c5b8a1787d43966ea0df7 (diff) | |
download | lvm2-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.in | 2 |
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 |