1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

cleanup: for commit 546db1c

- properly clean lvm2-pvscan@.service on distclean
 - use @sbindir@ for sbin path in ExecStop
This commit is contained in:
Peter Rajnoha 2013-10-23 09:48:33 +02:00
parent 9883bffb04
commit 1dd6626696
2 changed files with 2 additions and 2 deletions

View File

@ -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 \ dm_event_systemd_red_hat.socket dm_event_systemd_red_hat.service \
lvm2_monitoring_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.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 \ lvm2_tmpfiles_red_hat.conf blk_availability_init_red_hat \
blk_availability_systemd_red_hat.service \ blk_availability_systemd_red_hat.service \
blkdeactivate.sh blkdeactivate.sh

View File

@ -11,4 +11,4 @@ Conflicts=shutdown.target
Type=oneshot Type=oneshot
RemainAfterExit=yes RemainAfterExit=yes
ExecStart=@sbindir@/pvscan --cache --activate ay /dev/block/%i ExecStart=@sbindir@/pvscan --cache --activate ay /dev/block/%i
ExecStop=/usr/sbin/pvscan --cache %i ExecStop=@sbindir@/pvscan --cache %i