From db984758d43ddf9134924754b729932fc5d1c056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Sun, 24 Dec 2017 14:59:45 +0100 Subject: [PATCH] fix file deletion --- containers/zammad/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/zammad/docker-entrypoint.sh b/containers/zammad/docker-entrypoint.sh index bad2188..cd4b50f 100644 --- a/containers/zammad/docker-entrypoint.sh +++ b/containers/zammad/docker-entrypoint.sh @@ -21,7 +21,7 @@ function check_zammad_ready { # zammad init if [ "$1" = 'zammad-init' ]; then - test -f ${ZAMMAD_READY_FILE} && rm ${ZAMMAD_READY_FILE} + rm ${ZAMMAD_READY_FILE} until (echo > /dev/tcp/${POSTGRESQL_HOST}/5432) &> /dev/null; do echo "zammad railsserver waiting for postgresql server to be ready..."