diff options
Diffstat (limited to '.docker/app/updater.sh')
| -rw-r--r-- | .docker/app/updater.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.docker/app/updater.sh b/.docker/app/updater.sh index 8bca0413d..561f390d7 100644 --- a/.docker/app/updater.sh +++ b/.docker/app/updater.sh @@ -1,4 +1,7 @@ #!/bin/sh -e +# +# this scripts waits for startup.sh to finish (implying a shared volume) and runs multiprocess daemon when working copy is available +# # We don't need those here (HTTP_HOST would cause false SELF_URL_PATH check failures) unset HTTP_PORT @@ -15,6 +18,7 @@ if ! id app; then adduser -D -h $APP_INSTALL_BASE_DIR -G app -u $OWNER_UID app fi +# TODO this should do a reasonable amount of attempts and terminate with an error while ! pg_isready -h $TTRSS_DB_HOST -U $TTRSS_DB_USER -p $TTRSS_DB_PORT; do echo waiting until $TTRSS_DB_HOST is ready... sleep 3 |