mirror of https://github.com/apache/cassandra
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:
parent
4ecbbc0820
commit
8cd13f1381
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue