mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
parent
971c2db91d
commit
c52758bdc7
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ stop() {
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
if status ; then
|
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."
|
echo "Timeout reached. Killing $name (pid $pid) with SIGKILL. This may result in data loss."
|
||||||
kill -KILL $pid
|
kill -KILL $pid
|
||||||
echo "$name killed with SIGKILL."
|
echo "$name killed with SIGKILL."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue