From d6e307c98bca9fe76918352c715b94a352d86109 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 7 Mar 2021 12:26:13 +0300 Subject: [PATCH] make .app_is_ready flag a bit later --- app/startup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/startup.sh b/app/startup.sh index b522912..cef538a 100755 --- a/app/startup.sh +++ b/app/startup.sh @@ -94,10 +94,10 @@ fi 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 (tail -q -f /tmp/error.log >> /proc/1/fd/2) & +touch $DST_DIR/.app_is_ready + exec /usr/sbin/php-fpm8 --nodaemonize --force-stderr