Koha/debian/scripts
Tomas Cohen Arazi eed7f263d0 Bug 8773 - Start per-instance koha-index-daemon in .deb setup
Short:

Launch an indexing daemon (rebuild_zebra.pl -daemon) process for each
enabled instance. Enabling/disabling the use of the indexer is handled
by global configuration variables in /etc/default/koha-common.

Also provides command line tools to manage the running indexer daemons
for your instances.

Long:

Using an indexing daemon avoids launching a new interpreter each time
the cron triggers the indexing, and also allows sub-minute incremental
reindexing, a requirement from our librarians.[1]

Using the indexer daemon could remain "experimental" until it gets more
testing; so is disabled by default initially. To enable the use of the
indexer the user has to tweak the /etc/default/koha-common config file.
Specifically the USE_INDEXER_DAEMON variable, which is clearly explained
in the file.

Frecquency defaults to 5 sec, and can be changed by tweaking the
/etc/default/koha-common config file too.

This patch uses rebuild_zebra.pl in daemon mode, but it is crafted to
allow changing the indexing daemon and passing specific option switches
it might need.

Regards
To+

[1] This is the .deb version of http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8519

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-07-14 09:15:22 -03:00
..
koha-create Bug 8773 - Start per-instance koha-index-daemon in .deb setup 2014-07-14 09:15:22 -03:00
koha-create-dirs Bug 9890: fix plugin handling by koha-create and koha-create-dirs 2013-06-24 06:55:36 -07:00
koha-disable Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-dump Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-dump-defaults Bug 5509 - use an XML parser to get values from config 2011-04-28 13:35:25 +12:00
koha-email-disable Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-email-enable Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-enable Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-enable-sip Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-01 22:03:13 -04:00
koha-foreach Bug 8566: [SIGNED-OFF] Enable koha-foreach to insert the instancename into commands 2014-07-02 15:45:25 -03:00
koha-functions.sh Bug 8773 - Start per-instance koha-index-daemon in .deb setup 2014-07-14 09:15:22 -03:00
koha-indexer Bug 8773 - Start per-instance koha-index-daemon in .deb setup 2014-07-14 09:15:22 -03:00
koha-list Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-mysql Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-mysqlcheck Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-rebuild-zebra Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-remove Bug 12312 - correctly upgrade under Apache 2.2 2014-05-26 03:41:55 +00:00
koha-reset-passwd Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-restart-zebra Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-restore Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-run-backups Bug 9260: stop koha-run-backups complaining "missing ]" 2012-12-21 08:11:39 -05:00
koha-shell Bug 8878 - a command to provide a shell with the koha environment 2012-12-20 08:01:46 -05:00
koha-start-sip Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-01 22:03:13 -04:00
koha-start-zebra Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-stop-sip Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-01 22:03:13 -04:00
koha-stop-zebra Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-translate Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-upgrade-schema Add koha-upgrade-schema, a script to upgrade the database schema. 2010-05-25 07:59:35 -04:00
koha-upgrade-to-3.4 Bug 6651 - fix splitting of names when updating to 3.4 2011-09-13 10:29:12 +12:00