public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: "Fabio M. Di Nitto" <fabbione@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: cluster: STABLE3 - init scripts: add force-reload targets
Date: Tue, 07 Jul 2009 07:19:00 -0000	[thread overview]
Message-ID: <20090707071929.B72BB120368@lists.fedorahosted.org> (raw)

[-- 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


                 reply	other threads:[~2009-07-07  7:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090707071929.B72BB120368@lists.fedorahosted.org \
    --to=fabbione@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).