image updates
This commit is contained in:
6
start.sh
6
start.sh
@@ -25,6 +25,12 @@ if [ ! -z "$GIT_REPO" ]; then
|
||||
chown -Rf nginx.nginx /usr/share/nginx/*
|
||||
fi
|
||||
|
||||
# Display PHP error's or not
|
||||
if [[ "$ERRORS" != "1" ]] ; then
|
||||
sed -i -e "s/error_reporting =.*=/error_reporting = E_ALL/g" /etc/php5/fpm/php.ini
|
||||
sed -i -e "s/display_errors =.*/display_errors = On/g" /etc/php5/fpm/php.ini
|
||||
fi
|
||||
|
||||
# Tweak nginx to match the workers to cpu's
|
||||
|
||||
procs=$(cat /proc/cpuinfo |grep processor | wc -l)
|
||||
|
||||
Reference in New Issue
Block a user