Commit faf02e35e93c3d0a140dccc1ad87574d24bb48fa
1 parent
602c5894
Exists in
master
and in
29 other branches
Fix Solr data path to use the Ferret one
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
etc/init.d/noosfero
| ... | ... | @@ -48,9 +48,9 @@ SOLR_PID_FILE=$NOOSFERO_DIR/tmp/pids/solr.production.pid |
| 48 | 48 | main_script() { |
| 49 | 49 | cd $NOOSFERO_DIR |
| 50 | 50 | if [ "$NOOSFERO_USER" != "$USER" ]; then |
| 51 | - su $NOOSFERO_USER -l -c "SOLR_DATA_PATH=/var/lib/noosfero/solr ./script/production $1" | |
| 51 | + su $NOOSFERO_USER -l -c "SOLR_DATA_PATH=/var/lib/noosfero-data/index ./script/production $1" | |
| 52 | 52 | else |
| 53 | - SOLR_DATA_PATH=/var/lib/noosfero/solr ./script/production $1 | |
| 53 | + SOLR_DATA_PATH=/var/lib/noosfero-data/index ./script/production $1 | |
| 54 | 54 | fi |
| 55 | 55 | } |
| 56 | 56 | ... | ... |