public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - init scripts: add force-reload targets
@ 2009-07-07  7:19 Fabio M. Di Nitto
  0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-07-07  7:19 UTC (permalink / raw)
  To: cluster-cvs-relay

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1932 bytes --]

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-07  7:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-07  7:19 cluster: STABLE3 - init scripts: add force-reload targets Fabio M. Di Nitto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).