diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2014-11-19 16:03:11 +0100 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2014-11-19 16:06:05 +0100 |
commit | 4a52a9212cc5d3ae90196776f28dbfb319002c74 (patch) | |
tree | 6248a076992b7572f3706714edf31fb12157f0a1 | |
parent | 7639eae8919e5872143562db8118d039f5a41225 (diff) | |
download | lvm2-4a52a9212cc5d3ae90196776f28dbfb319002c74.tar.gz |
systemd: clvmd and cmirrord systemd unit - use usrsbindir instead of sbindir
-rw-r--r-- | scripts/lvm2_clvmd_systemd_red_hat.service.in | 2 | ||||
-rw-r--r-- | 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 |