Start/stop cassandra after more important services such as mdadm in

debian packaging.
Patch by Paul Cannon, reviewed by brandonwilliams for CASSANDRA-2481

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1102456 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brandon Williams 2011-05-12 20:46:14 +00:00
parent c2cf5c4bec
commit 290c6f7d6f
2 changed files with 5 additions and 3 deletions

6
debian/init vendored
View File

@ -1,8 +1,10 @@
#! /bin/sh
### BEGIN INIT INFO
# Provides: cassandra
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# 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

2
debian/rules vendored
View File

@ -46,7 +46,7 @@ binary-indep: build install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installinit
dh_installinit -u'start 50 2 3 4 5 . stop 50 0 1 6'
dh_installdocs README.txt CHANGES.txt NEWS.txt
dh_compress
dh_fixperms