Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit ec8dfbb

Browse files
author
Oscar Barrett
committed
Add pid killer (See docker-archive#22)
1 parent ca63258 commit ec8dfbb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

run.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@ fi
1010

1111
source /etc/apache2/envvars
1212
tail -F /var/log/apache2/* &
13+
14+
# Apache gets grumpy about PID files pre-existing
15+
rm -f /var/run/apache2/apache2.pid
16+
1317
exec apache2 -D FOREGROUND

0 commit comments

Comments
 (0)