Remove any Apache HTTPD PID file before starting the container, to prevent failures during restart.

REL-2_X
Mark Deneen 2018-01-03 12:54:52 +00:00 committed by Dave Page
parent 90f5af8902
commit 3289a18a1a
1 changed files with 3 additions and 1 deletions

View File

@ -14,4 +14,6 @@ export PGADMIN_SETUP_PASSWORD=${PGADMIN_DEFAULT_PASSWORD}
j2 /templates/pgadmin4.conf.j2 > /etc/httpd/conf.d/pgadmin4.conf
/usr/sbin/httpd -D FOREGROUND
rm -f /run/httpd/httpd.pid
/usr/sbin/httpd -D FOREGROUND