Status command in debian/ubuntu init script doesn't work

patch by Ruggero Marchei; reviewed by Michael Shuler for CASSANDRA-10213
This commit is contained in:
Ruggero Marchei 2015-11-27 12:57:49 +01:00 committed by Robert Stupp
parent 4ecbbc0820
commit 8cd13f1381
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
2.1.12
* Status command in debian/ubuntu init script doesn't work (CASSANDRA-10213)
* Some DROP ... IF EXISTS incorrectly result in exceptions on non-existing KS (CASSANDRA-10658)
* DeletionTime.compareTo wrong in rare cases (CASSANDRA-10749)
* Force encoding when computing statement ids (CASSANDRA-10755)

2
debian/init vendored
View File

@ -47,7 +47,7 @@ FD_LIMIT=100000
# process is not running but the pidfile exists (to match the exit codes for
# the "status" command; see LSB core spec 3.1, section 20.2)
#
CMD_PATT="cassandra.+CassandraDaemon"
CMD_PATT="Dcassandra-pidfile=.*cassandra\.pid"
is_running()
{
if [ -f $PIDFILE ]; then