Skip to content

Commit

Permalink
source /etc/esg.env before doing a solr stop
Browse files Browse the repository at this point in the history
  • Loading branch information
pchengi2 committed Aug 20, 2015
1 parent 8f3c82d commit 03a4541
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/esg-search
Original file line number Diff line number Diff line change
Expand Up @@ -985,6 +985,7 @@ stop_solr() {
solr_init ${1}

# stops all Solrs at once
source /etc/esg.env;
pushd ${solr_server_dir} >& /dev/null
sudo -u ${esg_solr_user} bin/solr stop -all
popd >& /dev/null
Expand Down

0 comments on commit 03a4541

Please sign in to comment.