summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2012-10-08 16:49:54 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2012-10-08 16:49:54 +0200
commit7a64fff948278604d287ac96d9783a6b896de99b (patch)
tree182c6093d6dfcbb37fc4e981ca2ddb3b0669d5d2 /scripts
parentee4c75c8b790001cb05d85a44b2a894a91f4ba05 (diff)
downloadlvm2-7a64fff948278604d287ac96d9783a6b896de99b.tar.gz
systemd: remove ExecStartPost from lvm2-lvmetad.service.
The ExecStartPost with pvscan --cache in lvm2-lvmetad.service is not needed now as this is called transparently within the first LVM command that queries lvmetad.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lvm2_lvmetad_systemd_red_hat.service.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/lvm2_lvmetad_systemd_red_hat.service.in b/scripts/lvm2_lvmetad_systemd_red_hat.service.in
index e527369cd..0150726eb 100644
--- a/scripts/lvm2_lvmetad_systemd_red_hat.service.in
+++ b/scripts/lvm2_lvmetad_systemd_red_hat.service.in
@@ -10,7 +10,6 @@ Conflicts=shutdown.target
Type=forking
NonBlocking=true
ExecStart=@sbindir@/lvmetad
-ExecStartPost=@sbindir@/lvm pvscan --cache
ExecReload=@sbindir@/lvmetad -R
Environment=SD_ACTIVATION=1
Restart=on-abort