gluster-devel
[Top][All Lists]
Advanced

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

[Gluster-devel] [PATCH 6/6] init.d: implement reload action for SUSE ini


From: Jan Engelhardt
Subject: [Gluster-devel] [PATCH 6/6] init.d: implement reload action for SUSE init script
Date: Mon, 24 Sep 2012 07:16:48 +0200

Signed-off-by: Jan Engelhardt <address@hidden>
---
 extras/init.d/glusterd-SuSE.in |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/extras/init.d/glusterd-SuSE.in b/extras/init.d/glusterd-SuSE.in
index 2c3fc02..6259bab 100755
--- a/extras/init.d/glusterd-SuSE.in
+++ b/extras/init.d/glusterd-SuSE.in
@@ -61,13 +61,17 @@ case $1 in
        fi
        rc_status -v
        ;;
+ reload)
+       rc_failed 3
+       rc_status -v
+       ;;
  restart)
        $0 stop
        $0 start
        rc_status
        ;;
  *)
-       echo $"Usage: $0 {start|stop|status|restart}."
+       echo $"Usage: $0 {start|stop|status|reload|restart}."
        exit 1
 esac
 
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]