mirror of
https://git.tt-rss.org/fox/ttrss-docker-compose
synced 2025-07-11 10:49:52 +02:00
add a hack to send fpm children logs to docker-captured stderr
This commit is contained in:
parent
547f3caa7a
commit
34cc2916d0
2 changed files with 12 additions and 5 deletions
|
@ -86,7 +86,10 @@ fi
|
|||
|
||||
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
|
||||
|
||||
(tail -q -f /tmp/error.log >> /proc/1/fd/2) &
|
||||
|
||||
touch $DST_DIR/.app_is_ready
|
||||
|
||||
sudo -E -u app /usr/sbin/php-fpm8 -F
|
||||
|
||||
exec /usr/sbin/php-fpm8 --nodaemonize --force-stderr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue