Browse Source

Pass Solr URL as parameter to shell script

pull/2443/head
Edward 6 years ago
committed by GitHub
parent
commit
91548dd616
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      check_solr.sh

4
check_solr.sh

@ -1,5 +1,9 @@
#!/bin/bash
# Pass the base SOLR URL as parameter, i.e., bash check_solr http://localhost:8983
SOLR_URL=$1
echo "Waiting for solr connection at $SOLR_URL ..."
while true; do
echo "$SOLR_URL/solr/admin/collections?action=LIST"

Loading…
Cancel
Save