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:
parent
2c8e9591f5
commit
d6e307c98b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue