39 lines
988 B
Diff
39 lines
988 B
Diff
|
---
|
||
|
extras/init.d/glusterd-SuSE.in | 10 +++++++---
|
||
|
1 file changed, 7 insertions(+), 3 deletions(-)
|
||
|
|
||
|
Index: glusterfs-3.2.4/extras/init.d/glusterd-SuSE.in
|
||
|
===================================================================
|
||
|
--- glusterfs-3.2.4.orig/extras/init.d/glusterd-SuSE.in
|
||
|
+++ glusterfs-3.2.4/extras/init.d/glusterd-SuSE.in
|
||
|
@@ -2,8 +2,8 @@
|
||
|
#
|
||
|
### BEGIN INIT INFO
|
||
|
# Provides: glusterd
|
||
|
-# Required-Start: $local_fs $network
|
||
|
-# Required-Stop:
|
||
|
+# Required-Start: $remote_fs $network
|
||
|
+# Required-Stop: $remote_fs $network
|
||
|
# Default-Start: 3 5
|
||
|
# Default-Stop:
|
||
|
# Short-Description: Gluster File System service for volume management
|
||
|
@@ -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
|
||
|
|