Maintenance: Use the renamed zammad:searchindex:* commands of Zammad 5.2.
This commit is contained in:
parent
f760f80864
commit
0806c1d0a1
@ -106,7 +106,7 @@ if [ "$1" = 'zammad-init' ]; then
|
||||
if [ "${ELASTICSEARCH_REINDEX}" == "true" ]; then
|
||||
if ! curl -s "${SSL_SKIP_VERIFY}" "${ELASTICSEARCH_SCHEMA}://${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}/_cat/indices" | grep -q zammad; then
|
||||
echo "rebuilding es searchindex..."
|
||||
bundle exec rake searchindex:rebuild
|
||||
bundle exec rake zammad:searchindex:rebuild
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user