Bugzilla – Attachment 36169 Details for
Bug 13753
INDEXER_DAEMON default is incorrect in koha-indexer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13753: koha-indexer contains invalid statement
Bug-13753-koha-indexer-contains-invalid-statement.patch (text/plain), 1.36 KB, created by
Mirko Tietgen
on 2015-02-25 16:29:29 UTC
(
hide
)
Description:
Bug 13753: koha-indexer contains invalid statement
Filename:
MIME Type:
Creator:
Mirko Tietgen
Created:
2015-02-25 16:29:29 UTC
Size:
1.36 KB
patch
obsolete
>From 0db39aee062b5411baa02e1f94b71b536228fa63 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Tue, 24 Feb 2015 10:54:57 -0300 >Subject: [PATCH] Bug 13753: koha-indexer contains invalid statement > >An incorrect conditional makes the indexer daemon fail to load. > >To test: >- Enable the indexer daemon on packages [1] >- Restart koha-common: > $ service koha-common restart >- Run > $ ps waux | grep koha-indexer >=> FAIL: there's no reference to the rebuild_zebra.pl script > (line should look like *rebuild_zebra.pl -daemon*) > Run ps -ef | grep rebuild_zebra.pl too to make sure. >- Apply the patch, repeat the steps >=> SUCCESS: the rebuild_zebra.pl script is ran >- Sign off :-D > >Thanks > >Sponsored-by: Universidad Nacional de Cordoba >Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> >--- > debian/scripts/koha-indexer | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/debian/scripts/koha-indexer b/debian/scripts/koha-indexer >index c7c2858..adf5e4e 100755 >--- a/debian/scripts/koha-indexer >+++ b/debian/scripts/koha-indexer >@@ -175,7 +175,7 @@ while [ $# -gt 0 ]; do > done > > # Check if an alternate indexer has been set >-if [ -z $ALTERNATE_INDEXER_DAEMON ]; then >+if [ ! -z $ALTERNATE_INDEXER_DAEMON ]; then > INDEXER_DAEMON="$ALTERNATE_INDEXER_DAEMON" > else > # We default to rebuild_zebra.pl if no alternate indexer set >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13753
:
36141
|
36169
|
36285
|
36286