Repository: cassandra
Updated Branches:
  refs/heads/trunk 0401f5797 -> f5e6f4edd


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

patch by Ruggero Marchei; reviewed by Michael Shuler for CASSANDRA-10213


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/8cd13f13
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/8cd13f13
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/8cd13f13

Branch: refs/heads/trunk
Commit: 8cd13f1381dff81aa5dfe0f6b630fa8198aa0d2b
Parents: 4ecbbc0
Author: Ruggero Marchei <ruggero.marc...@daemonzone.net>
Authored: Fri Nov 27 12:57:49 2015 +0100
Committer: Robert Stupp <sn...@snazy.de>
Committed: Fri Nov 27 12:57:49 2015 +0100

----------------------------------------------------------------------
 CHANGES.txt | 1 +
 debian/init | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/8cd13f13/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 4adcf4f..111852c 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)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/8cd13f13/debian/init
----------------------------------------------------------------------
diff --git a/debian/init b/debian/init
index aff54e1..72417ae 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

Reply via email to