Merge "Actually restart services in logstash watchdog"

This commit is contained in:
Jenkins 2014-03-01 16:55:15 +00:00 committed by Gerrit Code Review
commit efe7edcc02

View File

@ -18,6 +18,6 @@ echo "$RESULT" >> /var/log/logstash/watchdog.log
if [ "$CURL_RET" == "0" ] && [ "$RESULT" == "true" ] ;
then
echo "restarting" >> /var/log/logstash/watchdog.log
stop --quiet logstash-indexer
start --quiet logstash-indexer
/sbin/stop --quiet logstash-indexer
/sbin/start --quiet logstash-indexer
fi