From e5e1102fc476988ebe57d60d171f021abc26d169 Mon Sep 17 00:00:00 2001 From: startxfr Date: Sat, 11 Jun 2016 18:04:21 +0200 Subject: change for logfile --- Services/apache/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Services/apache/Dockerfile') diff --git a/Services/apache/Dockerfile b/Services/apache/Dockerfile index b207fc4..8e6e22c 100644 --- a/Services/apache/Dockerfile +++ b/Services/apache/Dockerfile @@ -14,7 +14,9 @@ RUN chmod 775 /bin/run.sh /bin/sx-httpd.sh && \ chmod ug+r $HTTPDCONF && \ rm -f /etc/httpd/conf.d/autoindex.conf /etc/httpd/conf.d/welcome.conf && \ mkdir -p $DATA_PATH $APP_PATH $LOG_PATH && \ - touch $STARTUPLOG && mkdir /etc/httpd/logs &> /dev/null && chown -R apache:apache /etc/httpd/logs + touch $STARTUPLOG && \ + mkdir /etc/httpd/logs &> /dev/null && \ + chown -R apache:apache /etc/httpd/logs &> /dev/null COPY ./ $APP_PATH RUN rm -f $APP_PATH/Dockerfile $APP_PATH/httpd.conf $APP_PATH/run.sh $APP_PATH/sx-httpd.sh && \ chown -R apache:apache $APP_PATH $DATA_PATH $LOG_PATH && \ -- cgit v1.2.3