summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-08-14 04:04:01 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-08-14 04:04:01 +0200
commit85d05d37c78613ac6d5df3c41282395e11c3765f (patch)
tree5feca807aeb2211452347042bde09c718e543266
parent5f519300fa70f938f9c2bb75ed71450839ed0073 (diff)
downloadapache-85d05d37c78613ac6d5df3c41282395e11c3765f.tar.gz
apache-85d05d37c78613ac6d5df3c41282395e11c3765f.tar.bz2
apache-85d05d37c78613ac6d5df3c41282395e11c3765f.tar.xz
apache-85d05d37c78613ac6d5df3c41282395e11c3765f.zip
Try to fix pid file location
-rw-r--r--2.4/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/2.4/Dockerfile b/2.4/Dockerfile
index d907b76..82a209d 100644
--- a/2.4/Dockerfile
+++ b/2.4/Dockerfile
@@ -17,6 +17,8 @@ RUN set -ex; \
\
# Configure port
sed -i -e "s|Listen .*|Listen 8080|" "conf/httpd.conf"; \
+ # Configure file paths
+ sed -i -e "s|^PidFile .*|PidFile /tmp/apache.pid|" "conf/httpd.conf"; \
# Enable DAV modules.
for i in dav dav_fs; do \
sed -i -e "/^#LoadModule ${i}_module.*/s/^#//" "conf/httpd.conf"; \