Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions start-apache.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,11 @@ a2enmod rewrite
# Stop apache first if is still running from the last time the container was run
service apache2 stop

# apache2.pid can hang around from previous dirty exits
# (https://github.com/kwk/docker-registry-frontend/issues/159)
if [ -f /var/run/apache2/apache2.pid ]
then
rm /var/run/apache2/apache2.pid
fi

/usr/sbin/apache2ctl -D FOREGROUND ${useSsl}