1
0
Fork 0
mirror of https://git.tt-rss.org/fox/ttrss-docker-compose synced 2025-06-07 23:59:52 +02:00

make .app_is_ready flag a bit later

This commit is contained in:
Andrew Dolgov 2021-03-07 12:26:13 +03:00
parent 2c8e9591f5
commit d6e307c98b

View file

@ -94,10 +94,10 @@ fi
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
touch $DST_DIR/.app_is_ready
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
(tail -q -f /tmp/error.log >> /proc/1/fd/2) & (tail -q -f /tmp/error.log >> /proc/1/fd/2) &
touch $DST_DIR/.app_is_ready
exec /usr/sbin/php-fpm8 --nodaemonize --force-stderr exec /usr/sbin/php-fpm8 --nodaemonize --force-stderr