[Gluster-devel] [PATCH 6/6] init.d: implement reload action for SUSE init script
Jan Engelhardt
jengelh at inai.de
Mon Sep 24 05:16:48 UTC 2012
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
More information about the Gluster-devel
mailing list