Bugzilla – Attachment 36141 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.30 KB, created by
Tomás Cohen Arazi (tcohen)
on 2015-02-24 14:00:30 UTC
(
hide
)
Description:
Bug 13753: koha-indexer contains invalid statement
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2015-02-24 14:00:30 UTC
Size:
1.30 KB
patch
obsolete
>From da6ae6f2e7d60c4525786aab24f7fdec435c9feb 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 >--- > 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 >-- >2.3.0
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