summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBala.FA <barumuga@redhat.com>2014-04-10 14:03:55 +0530
committerVijay Bellur <vbellur@redhat.com>2014-04-12 23:03:16 -0700
commitc193996c94901d81a2a623799d83ef96f595d3e2 (patch)
tree4cfd0acc6f545be7903882ea75b0dc68c5aced80
parent493e7c1934e65f5b7de5e710528f503e083c49e4 (diff)
build: set run levels for glusterd init script properly
'chkconfig --add glusterd' does not set run levels for start/stop. This patch fixes it. Change-Id: I8962f5207d034b6875353e15eb60c4d08c5a4fe4 BUG: 1086141 Signed-off-by: Bala.FA <barumuga@redhat.com> Reviewed-on: http://review.gluster.org/7432 Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
-rwxr-xr-xextras/init.d/glusterd-Redhat.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/init.d/glusterd-Redhat.in b/extras/init.d/glusterd-Redhat.in
index e320708ae9f..c6254a066ad 100755
--- a/extras/init.d/glusterd-Redhat.in
+++ b/extras/init.d/glusterd-Redhat.in
@@ -11,8 +11,8 @@
# Required-Stop: $local_fs $network
# Should-Start:
# Should-Stop:
-# Default-Start:
-# Default-Stop: 0 1 2 3 4 5 6
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
# Short-Description: glusterfs server
# Description: Clustered file-system server
### END INIT INFO