mirror of https://github.com/apache/cassandra
Fix init script for debian Buster
Patch by Vicente Jimenez Aguilar, reviewed by brandonwilliams for CASSANDRA-15770
This commit is contained in:
parent
c52f50f046
commit
99b6095ecc
|
|
@ -1,4 +1,5 @@
|
|||
2.2.20
|
||||
* Fix Debian init start/stop (CASSANDRA-15770)
|
||||
* 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)
|
||||
* Make TokenMetadata's ring version increments atomic (CASSANDRA-16286)
|
||||
|
|
|
|||
|
|
@ -97,7 +97,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
|
||||
|
|
|
|||
Loading…
Reference in New Issue