Bug 8519 - Make koha-index-daemon run on startup
authorTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 31 Oct 2012 18:53:02 +0000 (14:53 -0400)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Fri, 7 Dec 2012 14:19:18 +0000 (09:19 -0500)
commit3a26d655ab61882e90cfe9cd8757a99de4d6a7b4
tree372d176c703595f2df69294649525a3c57c2aba1
parent56c52b2dbc00f36eeb0e1bf062e0bcd0b074f222
Bug 8519 - Make koha-index-daemon run on startup

[This patch was split out from tcohen's excellent patches for bug 8519
--jcamins 2012/10/31]

Added a new koha-index-daemon-ctl.sh script that uses the
'koha-index-daemon' provided by Koha::Contrib::Tamil (install via CPAN)
to process the indexing queue ('zebraqueue' for now, 'indexqueue' in the
future I guess :-P).

This script could be easily modified in the future for using another
index queue processing script (a more abstract indexing script for both Solr
and Zebra, etc). I removed all zebra-ish stuff from it.

Documentation patches will be provided as followups, once Mark Tompsett's
docs are pushed to avoid continous rebasing.

Tested to work on an up-to-date Ubuntu 12.04.

Sponsored-by: Universidad Nacional de Córdoba
Signed-off-by: wajasu <matted-34813@mypacks.net>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Makefile.PL
install_misc/install_koha_on_fresh_debian
misc/bin/koha-index-daemon-ctl.sh [new file with mode: 0755]
t/Makefile
t/db_dependent/lib/KohaTest.pm