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 c52f50f046
commit 99b6095ecc
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
2.2.20 2.2.20
* Fix Debian init start/stop (CASSANDRA-15770)
* Remove ant targets list-jvm-dtests and ant list-jvm-upgrade-dtests (CASSANDRA-16519) * Remove ant targets list-jvm-dtests and ant list-jvm-upgrade-dtests (CASSANDRA-16519)
* Fix centos packaging for arm64, >=4.0 rpm's now require python3 (CASSANDRA-16477) * Fix centos packaging for arm64, >=4.0 rpm's now require python3 (CASSANDRA-16477)
* Make TokenMetadata's ring version increments atomic (CASSANDRA-16286) * Make TokenMetadata's ring version increments atomic (CASSANDRA-16286)

2
debian/init vendored
View File

@ -97,7 +97,7 @@ do_stop()
# 1 if daemon was already stopped # 1 if daemon was already stopped
# 2 if daemon could not be stopped # 2 if daemon could not be stopped
# other if a failure occurred # 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=$? RET=$?
rm -f "$PIDFILE" rm -f "$PIDFILE"
return $RET return $RET