mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
This is in prep for a Docker based test run approach, and by removing the dependent Docker containers we will avoid Docker in Docker requirements. Fixes #8211
15 lines
No EOL
250 B
Bash
Executable file
15 lines
No EOL
250 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
current_dir="$(dirname "$0")"
|
|
|
|
source "$current_dir/helpers.sh"
|
|
|
|
ES_HOME=$INSTALL_DIR/elasticsearch
|
|
|
|
stop_es() {
|
|
pid=$(cat $ES_HOME/elasticsearch.pid)
|
|
[ "x$pid" != "x" ] && [ "$pid" -gt 0 ]
|
|
kill -SIGTERM $pid
|
|
}
|
|
|
|
stop_es |