add "force-reload" targets to init scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
attached patch adds the force-reload targets to the init scripts as
expected by Debian based distros. Would be nice to have this applied for
3.0.
Cheers,
 -- Guido
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
--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux