|
|
@ -112,6 +112,12 @@ xdebug.client_host = ${TTRSS_XDEBUG_HOST}
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sed -i.bak "s/^\(memory_limit\) = \(.*\)/\1 = ${PHP_WORKER_MEMORY_LIMIT}/" \
|
|
|
|
|
|
|
|
/etc/php8/php.ini
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sed -i.bak "s/^\(pm.max_children\) = \(.*\)/\1 = ${PHP_WORKER_MAX_CHILDREN}/" \
|
|
|
|
|
|
|
|
/etc/php8/php-fpm.d/www.conf
|
|
|
|
|
|
|
|
|
|
|
|
cd $DST_DIR && sudo -E -u app php8 ./update.php --update-schema=force-yes
|
|
|
|
cd $DST_DIR && sudo -E -u app php8 ./update.php --update-schema=force-yes
|
|
|
|
|
|
|
|
|
|
|
|
rm -f /tmp/error.log && mkfifo /tmp/error.log && chown app:app /tmp/error.log
|
|
|
|
rm -f /tmp/error.log && mkfifo /tmp/error.log && chown app:app /tmp/error.log
|
|
|
@ -120,10 +126,4 @@ rm -f /tmp/error.log && mkfifo /tmp/error.log && chown app:app /tmp/error.log
|
|
|
|
|
|
|
|
|
|
|
|
touch $DST_DIR/.app_is_ready
|
|
|
|
touch $DST_DIR/.app_is_ready
|
|
|
|
|
|
|
|
|
|
|
|
sed -i.bak "s/^\(memory_limit\) = \(.*\)/\1 = ${PHP_WORKER_MEMORY_LIMIT}/" \
|
|
|
|
|
|
|
|
/etc/php8/php.ini
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sed -i.bak "s/^\(pm.max_children\) = \(.*\)/\1 = ${PHP_WORKER_MAX_CHILDREN}/" \
|
|
|
|
|
|
|
|
/etc/php8/php-fpm.d/www.conf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
exec /usr/sbin/php-fpm8 --nodaemonize --force-stderr -R
|
|
|
|
exec /usr/sbin/php-fpm8 --nodaemonize --force-stderr -R
|
|
|
|