From 1a8cceb744743ceb589813f14365e0d021b7d133 Mon Sep 17 00:00:00 2001
From: startxfr <clarue@startx.fr>
Date: Sat, 11 Jun 2016 17:55:51 +0200
Subject: change for logfile

---
 Services/php/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'Services/php')

diff --git a/Services/php/Dockerfile b/Services/php/Dockerfile
index 4abb0f8..d530396 100644
--- a/Services/php/Dockerfile
+++ b/Services/php/Dockerfile
@@ -12,7 +12,7 @@ COPY httpd.conf $HTTPDCONF
 COPY php.ini /etc/php.d/sx.ini
 COPY run.sh /bin/
 RUN chmod 775 /bin/run.sh && \
-    chmod ug+r $HTTPDCONF
+    chmod ug+r $HTTPDCONF  && mkdir /etc/httpd/logs &> /dev/null && chown -R apache:apache /etc/httpd/logs
 COPY ./ $APP_PATH
 RUN rm -f $APP_PATH/Dockerfile $APP_PATH/httpd.conf $APP_PATH/run.sh && \
     chown -R apache:apache $DATA_PATH $APP_PATH $LOG_PATH && \
-- 
cgit v1.2.3