This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cluster: STABLE3 - init scripts: add force-reload targets


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=192d4e27c36fb263617ad726795f1c8dbc709497
Commit:        192d4e27c36fb263617ad726795f1c8dbc709497
Parent:        158affb03150143e5561c9b8a5a3cc89865d3652
Author:        Guido Günther <agx@sigxcpu.org>
AuthorDate:    Tue Jul 7 09:18:25 2009 +0200
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Tue Jul 7 09:18:25 2009 +0200

init scripts: add force-reload targets

add the force-reload targets to the init scripts as
expected by Debian based distros.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 cman/init.d/cman.in           |    2 +-
 gfs/init.d/gfs.in             |    2 +-
 gfs2/init.d/gfs2.in           |    2 +-
 rgmanager/init.d/rgmanager.in |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/cman/init.d/cman.in b/cman/init.d/cman.in
index e48300d..6481d6b 100644
--- a/cman/init.d/cman.in
+++ b/cman/init.d/cman.in
@@ -820,7 +820,7 @@ stop)
 		echo
 	fi
 ;;
-restart|reload)
+restart|reload|force-reload)
 	cmanremove=remove
 	stop
 	start
diff --git a/gfs/init.d/gfs.in b/gfs/init.d/gfs.in
index a233148..31104b4 100644
--- a/gfs/init.d/gfs.in
+++ b/gfs/init.d/gfs.in
@@ -137,7 +137,7 @@ case "$1" in
 	$0 start
 	;;
 
-  reload)
+  reload|force-reload)
         $0 start
 	;;
   *)
diff --git a/gfs2/init.d/gfs2.in b/gfs2/init.d/gfs2.in
index 241e3f9..b28a99a 100644
--- a/gfs2/init.d/gfs2.in
+++ b/gfs2/init.d/gfs2.in
@@ -137,7 +137,7 @@ case "$1" in
 	$0 start
 	;;
 
-  reload)
+  reload|force-reload)
         $0 start
 	;;
   *)
diff --git a/rgmanager/init.d/rgmanager.in b/rgmanager/init.d/rgmanager.in
index 0bc1245..37539ba 100644
--- a/rgmanager/init.d/rgmanager.in
+++ b/rgmanager/init.d/rgmanager.in
@@ -100,7 +100,7 @@ restart|condrestart)
 	$0 stop
 	$0 start
 ;;
-reload)
+reload|force-reload)
 	# not required anymore
 	# return not implemented
 	rtrn=3


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]