Browse Source

Pass Solr URL as parameter to shell script

rate-limiter-2026
Edward 8 years ago
committed by GitHub
parent
commit
ef47db8a0b
  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