fix syntax error in entrypoint

This commit is contained in:
Ralf Becker 2020-03-18 13:56:25 +01:00
parent 3cbab67080
commit 4a942cf2b0

View File

@ -6,7 +6,7 @@ test -n "$EGW_APC_SHM_SIZE" && {
grep "apc.shm_size" /etc/php/7.3/fpm/conf.d/20-apcu.ini >/dev/null && \
sed -e "s/^;\?apc.shm_size.*/apc.shm_size=$EGW_APC_SHM_SIZE/g" \
-i /etc/php/7.3/fpm/conf.d/20-apcu.ini || \
echo "apc.shm_size=$EGW_APC_SHM_SIZE" >> /etc/php/7.3/fpm/conf.d/20-apcu.ini \
echo "apc.shm_size=$EGW_APC_SHM_SIZE" >> /etc/php/7.3/fpm/conf.d/20-apcu.ini
}
# if EGW_SESSION_TIMEOUT is set in environment, propagate value to php.ini