first try of a apache lucene solr plugin

This commit is contained in:
Micha Glave
2015-05-06 08:39:19 +02:00
parent 0cdeaf782f
commit 2340ffeb01
4 changed files with 110 additions and 0 deletions

View 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
View 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
}