From 1dd6626696b100c8cf176921917418bb8d7f8055 Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Wed, 23 Oct 2013 09:48:33 +0200 Subject: [PATCH] cleanup: for commit 546db1c - properly clean lvm2-pvscan@.service on distclean - use @sbindir@ for sbin path in ExecStop --- scripts/Makefile.in | 2 +- scripts/lvm2_pvscan_systemd_red_hat@.service.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Makefile.in b/scripts/Makefile.in index fac7e40dd..3616afa0d 100644 --- a/scripts/Makefile.in +++ b/scripts/Makefile.in @@ -119,7 +119,7 @@ DISTCLEAN_TARGETS += clvmd_init_red_hat cmirrord_init_red_hat \ dm_event_systemd_red_hat.socket dm_event_systemd_red_hat.service \ lvm2_monitoring_systemd_red_hat.service \ lvm2_lvmetad_systemd_red_hat.socket lvm2_lvmetad_systemd_red_hat.service \ - lvm2_lvmetad_systemd_red_hat@.service \ + lvm2_pvscan_systemd_red_hat@.service \ lvm2_tmpfiles_red_hat.conf blk_availability_init_red_hat \ blk_availability_systemd_red_hat.service \ blkdeactivate.sh diff --git a/scripts/lvm2_pvscan_systemd_red_hat@.service.in b/scripts/lvm2_pvscan_systemd_red_hat@.service.in index 07ea5caca..42259828f 100644 --- a/scripts/lvm2_pvscan_systemd_red_hat@.service.in +++ b/scripts/lvm2_pvscan_systemd_red_hat@.service.in @@ -11,4 +11,4 @@ Conflicts=shutdown.target Type=oneshot RemainAfterExit=yes ExecStart=@sbindir@/pvscan --cache --activate ay /dev/block/%i -ExecStop=/usr/sbin/pvscan --cache %i +ExecStop=@sbindir@/pvscan --cache %i