Update package/scripts/aca/certificate_generate.sh

Co-Authored-By: apldev4 <apl.dev4@jhuapl.edu>
This commit is contained in:
apldev3 2019-05-23 14:51:03 -04:00 committed by apldev4
parent 77d48631f4
commit 74ed0005a1

View File

@ -76,7 +76,7 @@ if [ $DOCKER_CONTAINER = true ]; then
echo "Tomcat is running, so we restart it."
/usr/libexec/tomcat/server stop
# Wait for Tomcat to stop completely and prevent port bind collisions
while [ -z $(tail -n 1 /var/log/tomcat/catalina.$(date +"%Y-%m-%d").log | grep "Destroying ProtocolHandler \[\"http-bio-8443\"\]") ]; do
while [ -z "$(tail -n 1 /var/log/tomcat/catalina.$(date +"%Y-%m-%d").log | grep "Destroying ProtocolHandler \[\"http-bio-8443\"\]")" ]; do
:
done
(/usr/libexec/tomcat/server start) &