cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sn...@apache.org
Subject [1/4] cassandra git commit: Status command in debian/ubuntu init script doesn't work
Date Fri, 27 Nov 2015 12:01:10 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-3.1 55bf08a5a -> 21a7a1c09


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/cassandra-3.1
Commit: 8cd13f1381dff81aa5dfe0f6b630fa8198aa0d2b
Parents: 4ecbbc0
Author: Ruggero Marchei <ruggero.marchei@daemonzone.net>
Authored: Fri Nov 27 12:57:49 2015 +0100
Committer: Robert Stupp <snazy@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


Mime
View raw message