diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-11-22 16:08:06 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-11-22 16:08:06 +0100 |
commit | bf572c6ab0c4e5e53461334287f8a5b97f1d8dc4 (patch) | |
tree | 803f37d73c775d3982ca06931c286e6d16d350fa | |
parent | 05d773c64aff3592e47829da84fe6f74091d489f (diff) | |
download | s2i-virtio-spec-bf572c6ab0c4e5e53461334287f8a5b97f1d8dc4.tar.gz |
fix logging
-rw-r--r-- | Dockerfile | 2 | ||||
-rwxr-xr-x | s2i/bin/run | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -68,7 +68,7 @@ RUN mkdir -p /opt/app-root;\ chmod 755 /opt /opt/app-root;\ useradd -d /opt/app-root/src -u 1001 default;\ mkdir -p /run/httpd;\ - chmod 777 /run/httpd;\ + chmod 777 /run/httpd /etc/httpd/logs;\ sed -i -e '/Listen/s/^/#/' /etc/httpd/conf/httpd.conf USER 1001 diff --git a/s2i/bin/run b/s2i/bin/run index 4490451..6692e10 100755 --- a/s2i/bin/run +++ b/s2i/bin/run @@ -1,5 +1,5 @@ #!/bin/sh echo "--- debug ---" -find /etc/httpd -type f | xargs egrep -i -e '(listen|log)' +find /etc/httpd -type f | xargs egrep -i -e '(listen)' echo "---" exec httpd -D FOREGROUND |