mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
parent
6de2251809
commit
ccc8d79089
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ stop() {
|
|||
sleep 1
|
||||
done
|
||||
if status ; then
|
||||
if [ "$KILL_ON_STOP_TIMEOUT" == 1 ] ; then
|
||||
if [ "$KILL_ON_STOP_TIMEOUT" = 1 ] ; then
|
||||
echo "Timeout reached. Killing $name (pid $pid) with SIGKILL. This may result in data loss."
|
||||
kill -KILL $pid
|
||||
echo "$name killed with SIGKILL."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue