forked from blallo/Feedati
FIX apache logging
This commit is contained in:
parent
4b2d2fddce
commit
1b2cc679e3
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@ RUN mkdir -p /app/public/tt-rss/ /var/cache/tt-rss/images \
|
|||
sed -i '/cgroup_add_service$/d' /lib/rc/sh/openrc-run.sh &&\
|
||||
sed -i '/^ntpd/d' /bootstrap/start.sh &&\
|
||||
echo -e 'log_errors = On\nerror_log = syslog' >> /etc/php7/php.ini &&\
|
||||
sed -i -r 's@ErrorLog .*@ErrorLog "| logger -n syslog -T -P 514 -t apacheErr"@i' /etc/apache2/httpd.conf &&\
|
||||
echo 'TransferLog "| logger -n syslog -T -P 514 -t apacheLog"' >> /etc/apache2/httpd.conf
|
||||
sed -i -r 's@ErrorLog .*@ErrorLog "|/usr/bin/logger -n syslog -T -P 514 -t apacheErr"@i' /etc/apache2/httpd.conf &&\
|
||||
echo 'TransferLog "|/usr/bin/logger -n syslog -T -P 514 -t apacheLog"' >> /etc/apache2/httpd.conf
|
||||
RUN apk --no-cache add util-linux
|
||||
|
||||
COPY tt-rss/* /app/public/tt-rss/
|
||||
|
|
Reference in a new issue