From 8cd13f1381dff81aa5dfe0f6b630fa8198aa0d2b Mon Sep 17 00:00:00 2001 From: Ruggero Marchei Date: Fri, 27 Nov 2015 12:57:49 +0100 Subject: [PATCH] Status command in debian/ubuntu init script doesn't work patch by Ruggero Marchei; reviewed by Michael Shuler for CASSANDRA-10213 --- CHANGES.txt | 1 + debian/init | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index 4adcf4f544..111852cc47 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -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) diff --git a/debian/init b/debian/init index aff54e1c7a..72417ae3a1 100644 --- a/debian/init +++ b/debian/init @@ -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