diff --git a/README.md b/README.md index 57adbf5..bd62b07 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,9 @@ docker run -d \ ## Changelog +* 2017-07-27: version 0.1.2 + * Fix the container started twice: "httpd (pid 13) already running" + * 2017-04-28: version 0.1.1 * Fix http server doesn't start after the container restarted diff --git a/setup.sh b/setup.sh index 425ebcf..e6e9434 100755 --- a/setup.sh +++ b/setup.sh @@ -36,6 +36,9 @@ if [ ! -d /var/www/package ]; then create_link fi +# Apache gets grumpy about PID files pre-existing +rm -f /var/run/apache2/apache2.pid + echo "[$(date)] Starting apache server" service apache2 start