icingaweb2: Wait for httpd to come up, and output logs on errors

This commit is contained in:
Markus Frosch 2017-06-06 15:29:43 +02:00
parent 0479bcfff5
commit f9547803d7

View File

@ -40,7 +40,7 @@ else
exit 1
fi
sleep 5
sleep 10
output=`mktemp`
@ -62,5 +62,7 @@ else
echo "Output of the page is:"
echo "====================================="
cat "$output"
echo "====================================="
cat /var/log/httpd/*error* /var/log/apache2/*error*
exit 1
fi