You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by sp...@apache.org on 2017/05/18 17:48:40 UTC
[16/22] cassandra git commit: RPM: Add init info stanzas,
change startup ordering
RPM: Add init info stanzas, change startup ordering
patch by Martin A. Langhoff; reviewed by Stefan Podkowinski for CASSANDRA-13493
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/dd6aa991
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/dd6aa991
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/dd6aa991
Branch: refs/heads/cassandra-3.0
Commit: dd6aa991b33caef4c1b6f2b5bc5ef3237cb87865
Parents: 480a612
Author: Martin Langhoff <ma...@gmail.com>
Authored: Wed May 17 10:40:52 2017 +0200
Committer: Stefan Podkowinski <s....@gmail.com>
Committed: Thu May 18 19:40:25 2017 +0200
----------------------------------------------------------------------
redhat/cassandra | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/dd6aa991/redhat/cassandra
----------------------------------------------------------------------
diff --git a/redhat/cassandra b/redhat/cassandra
index a4aaaa5..677ff8c 100644
--- a/redhat/cassandra
+++ b/redhat/cassandra
@@ -3,11 +3,24 @@
# /etc/init.d/cassandra
#
# Startup script for Cassandra
-#
-# chkconfig: 2345 20 80
+#
+# chkconfig: 2345 80 20
# description: Starts and stops Cassandra
# pidfile: /var/run/cassandra/cassandra.pid
+### BEGIN INIT INFO
+# Provides: cassandra
+# Required-Start: $remote_fs $network $named $time
+# Required-Stop: $remote_fs $network $named $time
+# Should-Start: ntp mdadm
+# Should-Stop: ntp mdadm
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: distributed storage system for structured data
+# Description: Cassandra is a distributed (peer-to-peer) system for
+# the management and storage of structured data.
+### END INIT INFO
+
. /etc/rc.d/init.d/functions
export CASSANDRA_HOME=/usr/share/cassandra
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org