summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2014-04-30 15:21:25 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2014-04-30 15:21:25 +0200
commit239ba5bb04deccee83aa603efee11a9670f6f3fe (patch)
tree9aedda7815363f3923ac7d2e8eea61e611755617 /scripts
parent81b096af34283cf91205b0e63f598ca92d625051 (diff)
downloadlvm2-239ba5bb04deccee83aa603efee11a9670f6f3fe.tar.gz
systemd: use lvm binary insetad of command symlink in lvm2-pvscan.service
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lvm2_pvscan_systemd_red_hat@.service.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lvm2_pvscan_systemd_red_hat@.service.in b/scripts/lvm2_pvscan_systemd_red_hat@.service.in
index cdbbe40cd..7d3b291a2 100644
--- a/scripts/lvm2_pvscan_systemd_red_hat@.service.in
+++ b/scripts/lvm2_pvscan_systemd_red_hat@.service.in
@@ -11,5 +11,5 @@ Conflicts=shutdown.target
[Service]
Type=oneshot
RemainAfterExit=yes
-ExecStart=@sbindir@/pvscan --cache --activate ay %i
-ExecStop=@sbindir@/pvscan --cache %i
+ExecStart=@sbindir@/lvm pvscan --cache --activate ay %i
+ExecStop=@sbindir@/lvm pvscan --cache %i