From 4a52a9212cc5d3ae90196776f28dbfb319002c74 Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Wed, 19 Nov 2014 16:03:11 +0100 Subject: [PATCH] systemd: clvmd and cmirrord systemd unit - use usrsbindir instead of sbindir --- scripts/lvm2_clvmd_systemd_red_hat.service.in | 2 +- scripts/lvm2_cmirrord_systemd_red_hat.service.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lvm2_clvmd_systemd_red_hat.service.in b/scripts/lvm2_clvmd_systemd_red_hat.service.in index 2978d21f2..2da511408 100644 --- a/scripts/lvm2_clvmd_systemd_red_hat.service.in +++ b/scripts/lvm2_clvmd_systemd_red_hat.service.in @@ -14,7 +14,7 @@ Conflicts=shutdown.target Type=forking Environment=CLVMD_OPTS=-T30 EnvironmentFile=-@sysconfdir@/sysconfig/clvmd -ExecStart=@sbindir@/clvmd $CLVMD_OPTS +ExecStart=@usrsbindir@/clvmd $CLVMD_OPTS SuccessExitStatus=5 TimeoutStartSec=30 TimeoutStopSec=10 diff --git a/scripts/lvm2_cmirrord_systemd_red_hat.service.in b/scripts/lvm2_cmirrord_systemd_red_hat.service.in index 16d38cec7..e3bf62d24 100644 --- a/scripts/lvm2_cmirrord_systemd_red_hat.service.in +++ b/scripts/lvm2_cmirrord_systemd_red_hat.service.in @@ -9,7 +9,7 @@ Conflicts=shutdown.target [Service] Type=forking -ExecStart=@sbindir@/cmirrord +ExecStart=@usrsbindir@/cmirrord PIDFile=@CMIRRORD_PIDFILE@ Restart=on-abort