mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
parent
971c2db91d
commit
c52758bdc7
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