Bugzilla – Attachment 13009 Details for
Bug 8773
Add per-instance koha-index-daemon in .deb setup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8773 - Back to cronjob indexing as default (follow-up)
Bug-8773---Back-to-cronjob-indexing-as-default.patch (text/plain), 2.72 KB, created by
Tomás Cohen Arazi (tcohen)
on 2012-10-23 13:42:33 UTC
(
hide
)
Description:
Bug 8773 - Back to cronjob indexing as default (follow-up)
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2012-10-23 13:42:33 UTC
Size:
2.72 KB
patch
obsolete
>From 2734f3f77781b41ab0db8c95d9e87cd0562e4136 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Tue, 23 Oct 2012 09:53:24 -0300 >Subject: [PATCH] Bug 8773 - Back to cronjob indexing as default >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Following Robin's comment I provide a follow up that restores >cronjob as default method for updating indexes. > >The lines that control the koha-index-daemon are properly left >and comented out so the users that want to test this feature >have everything already set. > >Sponsored-by: Universidad Nacional de Córdoba >--- > debian/koha-common.cron.d | 3 ++- > debian/koha-common.init | 12 +++++++++--- > 2 files changed, 11 insertions(+), 4 deletions(-) > >diff --git a/debian/koha-common.cron.d b/debian/koha-common.cron.d >index c7fc94e..6b9e209 100644 >--- a/debian/koha-common.cron.d >+++ b/debian/koha-common.cron.d >@@ -6,5 +6,6 @@ > SHELL=/bin/sh > PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin > >-# */5 * * * * root test -x /usr/sbin/koha-rebuild-zebra && koha-rebuild-zebra $(koha-list --enabled) >+# Comment if you want to use the experimental koha-index-daemon integration >+*/5 * * * * root test -x /usr/sbin/koha-rebuild-zebra && koha-rebuild-zebra $(koha-list --enabled) > */15 * * * * root koha-foreach --enabled --email /usr/share/koha/bin/cronjobs/process_message_queue.pl >diff --git a/debian/koha-common.init b/debian/koha-common.init >index 7946785..af9fdbb 100755 >--- a/debian/koha-common.init >+++ b/debian/koha-common.init >@@ -45,7 +45,9 @@ do_start() > # We insure all required directories exist, including disabled ones. > koha-create-dirs $(koha-list) > koha-start-zebra $(koha-list --enabled) >- koha-start-indexer $(koha-list --enabled) >+ # Uncomment if you want to use the experimental koha-index-daemon integration >+ # (make sure you disabled the indexing cronjob on /etc/cron.d/koha-common) >+ # koha-start-indexer $(koha-list --enabled) > } > > # >@@ -55,7 +57,9 @@ do_stop() > { > # We stop everything, including disabled ones. > koha-stop-zebra $(koha-list) || true >- koha-stop-indexer $(koha-list --enabled) >+ # Uncomment if you want to use the experimental koha-index-daemon integration >+ # (make sure you disabled the indexing cronjob on /etc/cron.d/koha-common) >+ # koha-stop-indexer $(koha-list --enabled) > } > > # >@@ -63,7 +67,9 @@ do_stop() > # > do_reload() { > koha-restart-zebra $(koha-list --enabled) >- koha-restart-indexer $(koha-list --enabled) >+ # Uncomment if you want to use the experimental koha-index-daemon integration >+ # (make sure you disabled the indexing cronjob on /etc/cron.d/koha-common) >+ # koha-restart-indexer $(koha-list --enabled) > } > > case "$1" in >-- >1.7.9.5
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 8773
:
12248
|
12285
|
12292
|
12293
|
12294
|
12654
|
13009
|
13031
|
13050
|
13089
|
18258
|
19794
|
19798
|
19800
|
19805
|
21704
|
22135
|
23928
|
29194
|
29575
|
29669