first try of a apache lucene solr plugin
This commit is contained in:
3
www-apps/solr/files/solr.conf.d
Normal file
3
www-apps/solr/files/solr.conf.d
Normal file
@@ -0,0 +1,3 @@
|
||||
SOLR_INCLUDE=/var/lib/solr/solr.in.sh
|
||||
|
||||
SOLR_OPTS=""
|
20
www-apps/solr/files/solr.init.d
Executable file
20
www-apps/solr/files/solr.init.d
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
start_stop_daemon_args="-u solr:solr"
|
||||
|
||||
command="/bin/solr"
|
||||
command_args="start ${SOLR_OPTS}"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use logger
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
rm -rf /var/tmp/solr
|
||||
mkdir /var/tmp/solr
|
||||
chown solr:solr /var/tmp/solr
|
||||
}
|
Reference in New Issue
Block a user