diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-08-14 04:04:01 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-08-14 04:04:01 +0200 |
commit | 85d05d37c78613ac6d5df3c41282395e11c3765f (patch) | |
tree | 5feca807aeb2211452347042bde09c718e543266 /2.4/Dockerfile | |
parent | 5f519300fa70f938f9c2bb75ed71450839ed0073 (diff) | |
download | apache-85d05d37c78613ac6d5df3c41282395e11c3765f.tar.gz apache-85d05d37c78613ac6d5df3c41282395e11c3765f.tar.bz2 apache-85d05d37c78613ac6d5df3c41282395e11c3765f.tar.xz apache-85d05d37c78613ac6d5df3c41282395e11c3765f.zip |
Try to fix pid file location
Diffstat (limited to '2.4/Dockerfile')
-rw-r--r-- | 2.4/Dockerfile | 2 |
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"; \ |