aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-11-22 16:08:06 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-11-22 16:08:06 +0100
commitbf572c6ab0c4e5e53461334287f8a5b97f1d8dc4 (patch)
tree803f37d73c775d3982ca06931c286e6d16d350fa
parent05d773c64aff3592e47829da84fe6f74091d489f (diff)
downloads2i-virtio-spec-bf572c6ab0c4e5e53461334287f8a5b97f1d8dc4.tar.gz
fix logging
-rw-r--r--Dockerfile2
-rwxr-xr-xs2i/bin/run2
2 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index eb59d82..ecfb3cd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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