cluster: STABLE31 - cman init: workaround systemd start/stop operations
Fabio M. Di Nitto
fabbione at fedoraproject.org
Fri Dec 3 11:26:58 UTC 2010
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=26b040e22d1989d9ae09eed076a8d69ec0d47451
Commit: 26b040e22d1989d9ae09eed076a8d69ec0d47451
Parent: a80f6a5faf0ba43fdcd6b009ebc42ff791d74b5a
Author: Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate: Fri Dec 3 12:26:36 2010 +0100
Committer: Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Fri Dec 3 12:26:36 2010 +0100
cman init: workaround systemd start/stop operations
Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
---
cman/init.d/cman.in | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cman/init.d/cman.in b/cman/init.d/cman.in
index 1e9c2d5..a5dfa86 100644
--- a/cman/init.d/cman.in
+++ b/cman/init.d/cman.in
@@ -705,7 +705,7 @@ start()
{
breakpoint="$1"
- sshd_enabled && service sshd start
+ sshd_enabled && cd @INITDDIR@ && ./sshd start
if [ "$INITLOGLEVEL" = "quiet" ]; then
echoarg="-n"
@@ -763,7 +763,7 @@ start()
none \
"Starting dlm_controld"
- gfs_controld_enabled && service gfs2-cluster start
+ gfs_controld_enabled && cd @INITDDIR@ && ./gfs2-cluster start
runwrap start_ocfs2_controld \
ocfs2_enabled \
@@ -796,7 +796,7 @@ stop()
fence_join_enabled \
"Leaving fence domain"
- gfs_controld_enabled && service gfs2-cluster stop
+ gfs_controld_enabled && cd @INITDDIR@ && ./gfs2-cluster stop
runwrap stop_dlm_controld \
none \
More information about the cluster-commits
mailing list