diff options
| author | 2018-04-26 13:52:44 +0200 | |
|---|---|---|
| committer | 2018-04-26 13:52:44 +0200 | |
| commit | 90998c24370ea14b2b78d1e2a55bfe33947b2aa7 (patch) | |
| tree | d37c8fe2722b3552508142e9943b27263080d432 /Docker/Dockerfile | |
| parent | 2b8da263ca53537ed919dbdf95a60891b420dc0a (diff) | |
Apache overrides were not enough (#1873)
It looks like overrides of CustomLog, ErrorLog, Listen did not do the
job fully.
Updated to comment out those lines in httpd.conf.
Fixes the fact that logs were kept in /var/log/apache2/ (instead of
being only given via STDOUT to Docker logs) and the "internal dummy
connection" bug over IPv6 (Docker is typically only IPv4).
Diffstat (limited to 'Docker/Dockerfile')
| -rw-r--r-- | Docker/Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Docker/Dockerfile b/Docker/Dockerfile index 78a0f0e8f..189d7175a 100644 --- a/Docker/Dockerfile +++ b/Docker/Dockerfile @@ -15,8 +15,9 @@ WORKDIR ${FRESHRSS_ROOT} COPY . ${FRESHRSS_ROOT} COPY ./Docker/*.Apache.conf /etc/apache2/conf.d/ -RUN echo "17,37 * * * * php ${FRESHRSS_ROOT}/app/actualize_script.php 2>&1 | tee /tmp/FreshRSS.log" >> \ - /var/spool/cron/crontabs/root +RUN sed -r -i "/^[ ]*(CustomLog|ErrorLog|Listen) /s/^/#/" /etc/apache2/httpd.conf && \ + echo "17,37 * * * * php ${FRESHRSS_ROOT}/app/actualize_script.php 2>&1 | tee /tmp/FreshRSS.log" >> \ + /var/spool/cron/crontabs/root ENV CRON_MIN '' ENTRYPOINT ["./Docker/entrypoint.sh"] |
