[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gluster-devel
Subject:    [Gluster-devel] [PATCH 6/6] init.d: implement reload action for SUSE init script
From:       jengelh () inai ! de (Jan Engelhardt)
Date:       2012-09-24 5:16:48
Message-ID: 1348463808-5500-7-git-send-email-jengelh () inai ! de
[Download RAW message or body]

Signed-off-by: Jan Engelhardt <jengelh at inai.de>
---
 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




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic