fix file deletion
This commit is contained in:
parent
2fc5b8fe8b
commit
db984758d4
@ -21,7 +21,7 @@ function check_zammad_ready {
|
|||||||
|
|
||||||
# zammad init
|
# zammad init
|
||||||
if [ "$1" = 'zammad-init' ]; then
|
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
|
until (echo > /dev/tcp/${POSTGRESQL_HOST}/5432) &> /dev/null; do
|
||||||
echo "zammad railsserver waiting for postgresql server to be ready..."
|
echo "zammad railsserver waiting for postgresql server to be ready..."
|
||||||
|
Loading…
Reference in New Issue
Block a user