fix searchindex rebuild
This commit is contained in:
		
							parent
							
								
									f64bdf16aa
								
							
						
					
					
						commit
						e3a5ec3b74
					
				| @ -91,8 +91,7 @@ if [ "$1" = 'zammad-init' ]; then | |||||||
|     sleep 5 |     sleep 5 | ||||||
|   done |   done | ||||||
| 
 | 
 | ||||||
|   if curl -s ${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}/_cat/indices | grep -q zammad; then |   if ! curl -s ${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}/_cat/indices | grep -q zammad; then | ||||||
|     curl -s ${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}/_cat/indices |  | ||||||
|     echo "rebuilding es searchindex..." |     echo "rebuilding es searchindex..." | ||||||
|     bundle exec rake searchindex:rebuild |     bundle exec rake searchindex:rebuild | ||||||
|   fi |   fi | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user