mirror of
https://git.icinga.com/packaging/rpm-icingaweb2.git
synced 2025-07-31 01:44:06 +02:00
icingaweb2: Wait for httpd to come up, and output logs on errors
This commit is contained in:
parent
0479bcfff5
commit
f9547803d7
@ -40,7 +40,7 @@ else
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sleep 5
|
sleep 10
|
||||||
|
|
||||||
output=`mktemp`
|
output=`mktemp`
|
||||||
|
|
||||||
@ -62,5 +62,7 @@ else
|
|||||||
echo "Output of the page is:"
|
echo "Output of the page is:"
|
||||||
echo "====================================="
|
echo "====================================="
|
||||||
cat "$output"
|
cat "$output"
|
||||||
|
echo "====================================="
|
||||||
|
cat /var/log/httpd/*error* /var/log/apache2/*error*
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user