Last change
on this file since 31105 was 31105, checked in by davidb, 7 years ago |
Additional scripts to help with running solr locally out of /tmp area
|
-
Property svn:executable
set to
*
|
File size:
276 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | unique_hosts=`echo $SOLR_NODES | tr ' ' '\n' | sed 's/:.*$//' | sort | uniq`
|
---|
4 |
|
---|
5 |
|
---|
6 | for solr_host in $unique_hosts ; do
|
---|
7 | remote_dir="$solr_host:/tmp/solr-ef"
|
---|
8 |
|
---|
9 | echo "Running rsync from networked SOLR_HOME to $remote_dir"
|
---|
10 | rsync -pav "$SOLR_HOME" "$remote_dir"
|
---|
11 | done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.