From 85d05d37c78613ac6d5df3c41282395e11c3765f Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 14 Aug 2019 04:04:01 +0200 Subject: Try to fix pid file location --- 2.4/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) 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"; \ -- cgit v1.2.3