fixed rsync

This commit is contained in:
André Bauer 2018-04-14 16:50:39 +02:00 committed by GitHub
parent d0c9c6b5e8
commit b647a87c3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ function check_zammad_ready {
if [ "$1" = 'zammad-init' ]; then if [ "$1" = 'zammad-init' ]; then
# install / update zammad # install / update zammad
test -f ${ZAMMAD_READY_FILE} && rm ${ZAMMAD_READY_FILE} test -f ${ZAMMAD_READY_FILE} && rm ${ZAMMAD_READY_FILE}
rsync -a --delete --exclude --exclude 'public/assets/images/*' --exclude 'storage/fs/*' ${ZAMMAD_TMP_DIR}/ ${ZAMMAD_DIR} rsync -a --delete --exclude 'public/assets/images/*' --exclude 'storage/fs/*' ${ZAMMAD_TMP_DIR}/ ${ZAMMAD_DIR}
rsync -a ${ZAMMAD_TMP_DIR}/public/assets/images/ ${ZAMMAD_DIR}/public/assets/images rsync -a ${ZAMMAD_TMP_DIR}/public/assets/images/ ${ZAMMAD_DIR}/public/assets/images
until (echo > /dev/tcp/${POSTGRESQL_HOST}/5432) &> /dev/null; do until (echo > /dev/tcp/${POSTGRESQL_HOST}/5432) &> /dev/null; do