Fix init script for debian Buster

Patch by Vicente Jimenez Aguilar, reviewed by brandonwilliams for
CASSANDRA-15770
This commit is contained in:
Vicente Jimenez Aguilar 2020-04-29 11:03:30 +02:00 committed by Brandon Williams
parent 4886968c4e
commit 469c6496ae
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
3.0.21
* Fix Debian init start/stop (CASSANDRA-15770)
* Fix infinite loop on index query paging in tables with clustering (CASSANDRA-14242)
* Fix chunk index overflow due to large sstable with small chunk length (CASSANDRA-15595)
* cqlsh return non-zero status when STDIN CQL fails (CASSANDRA-15623)

2
debian/init vendored
View File

@ -98,7 +98,7 @@ do_stop()
# 1 if daemon was already stopped
# 2 if daemon could not be stopped
# other if a failure occurred
start-stop-daemon -K -p "$PIDFILE" -R TERM/30/KILL/5 >/dev/null
start-stop-daemon -K -u cassandra -p "$PIDFILE" -R TERM/30/KILL/5 >/dev/null
RET=$?
rm -f "$PIDFILE"
return $RET