File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 7
7
: " ${ELASTICSEARCH_PORT:= 9200} "
8
8
: " ${ELASTICSEARCH_SCHEMA:= http} "
9
9
: " ${ELASTICSEARCH_SSL_VERIFY:= true} "
10
- : " ${ELASTICSEARCH_PURGE:= false} "
11
10
: " ${MEMCACHED_HOST:= zammad-memcached} "
12
11
: " ${MEMCACHED_PORT:= 11211} "
13
12
: " ${POSTGRESQL_HOST:= zammad-postgresql} "
@@ -100,11 +99,6 @@ if [ "$1" = 'zammad-init' ]; then
100
99
SSL_SKIP_VERIFY=" "
101
100
fi
102
101
103
- if [ " ${ELASTICSEARCH_PURGE} " == " true" ]; then
104
- echo " deleting all es indicies..."
105
- curl -XDELETE ${SSL_SKIP_VERIFY} ${ELASTICSEARCH_SCHEMA} ://${ELASTICSEARCH_HOST} :${ELASTICSEARCH_PORT} /*
106
- fi
107
-
108
102
if ! curl -s ${SSL_SKIP_VERIFY} ${ELASTICSEARCH_SCHEMA} ://${ELASTICSEARCH_HOST} :${ELASTICSEARCH_PORT} /_cat/indices | grep -q zammad; then
109
103
echo " rebuilding es searchindex..."
110
104
bundle exec rake searchindex:rebuild
You can’t perform that action at this time.
0 commit comments