diff options
author | francis <francis> | 2008-03-06 12:17:20 +0000 |
---|---|---|
committer | francis <francis> | 2008-03-06 12:17:20 +0000 |
commit | 41e8abfbfba783122ef2ff10cb794ac2d5895fe1 (patch) | |
tree | 3cbcb197cf92710d224703ae75a6729158ace171 /script/restart-solr | |
parent | f3c4eb0a94502c072efec4acbe80c89416586aba (diff) |
Lock while indexing.
Scripts to restart solr, and update index.
Diffstat (limited to 'script/restart-solr')
-rwxr-xr-x | script/restart-solr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/script/restart-solr b/script/restart-solr new file mode 100755 index 000000000..bf7b9194d --- /dev/null +++ b/script/restart-solr @@ -0,0 +1,12 @@ +#!/bin/bash + +# Stops and restarts the Solr (Lucene) search engine daemon. Redirects it +# to log. + +cd `dirname $0` +cd .. +rake solr:stop +nohup rake solr:start >log/solr.log 2>log/solr.err.log + + + |