diff options
Diffstat (limited to 'adei/scripts')
-rwxr-xr-x | adei/scripts/configure.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/adei/scripts/configure.sh b/adei/scripts/configure.sh index acb6fbb..458c3dc 100755 --- a/adei/scripts/configure.sh +++ b/adei/scripts/configure.sh @@ -10,4 +10,5 @@ sed -i'' -re 's/short_open_tag\s*=.*/short_open_tag = On/' /etc/php5/apache2/php sed -i'' -re 's@session.save_path\s*=.*@session.save_path=/tmp@' /etc/php5/apache2/php.ini # Docker allows to view stdout/stderr streams individually, but OpenShift not. So we skip CustomLog for now -sed -i'' -re 's@^ErrorLog .*@ErrorLog "|/usr/bin/tee -a /var/log/apache2/error_log 1>&2"@' /etc/apache2/httpd.conf +# Redirection fails here. So lets keep logging to stdout for now. +sed -i'' -re 's@^ErrorLog .*@ErrorLog "|/usr/bin/tee -a /var/log/apache2/error_log"@' /etc/apache2/httpd.conf |