Bugzilla – Attachment 43401 Details for
Bug 15011
koha-indexer --stop does not work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15011: koha-indexer should define the --pidfiles on starting the daemon
Bug-15011-koha-indexer-should-define-the---pidfile.patch (text/plain), 2.09 KB, created by
Tomás Cohen Arazi (tcohen)
on 2015-10-14 13:48:27 UTC
(
hide
)
Description:
Bug 15011: koha-indexer should define the --pidfiles on starting the daemon
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2015-10-14 13:48:27 UTC
Size:
2.09 KB
patch
obsolete
>From d57565776c61bcfc1484bdff4ae9bc0adcd0a7d7 Mon Sep 17 00:00:00 2001 >From: "jonathan.druart@bugs.koha-community.org" > <jonathan.druart@bugs.koha-community.org> >Date: Wed, 14 Oct 2015 13:20:38 +0000 >Subject: [PATCH] Bug 15011: koha-indexer should define the --pidfiles on > starting the daemon > >The --pidfiles options is not provided on starting the daemon and the is_indexer_running consider that the daemon is not running > >Test plan: >koha-indexer start >koha-indexer stop > >should start and stop the zebra daemon wuthout any error. > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Tested on kohadevbox:ansible > >sudo debian/scripts/koha-indexer --stop kohadev >sudo debian/scripts/koha-indexer --start kohadev >sudo debian/scripts/koha-indexer --restart kohadev > >All work as expected on the different scenarios. >--- > debian/scripts/koha-indexer | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/debian/scripts/koha-indexer b/debian/scripts/koha-indexer >index adf5e4e..dd3f799 100755 >--- a/debian/scripts/koha-indexer >+++ b/debian/scripts/koha-indexer >@@ -65,6 +65,7 @@ start_indexer() > --errlog=/var/log/koha/$name/indexer-error.log \ > --stdout=/var/log/koha/$name/indexer.log \ > --output=/var/log/koha/$name/indexer-output.log \ >+ --pidfiles=/var/run/koha/$name/ \ > --verbose=1 --respawn --delay=30 \ > --user=$name-koha.$name-koha" > >@@ -92,6 +93,7 @@ stop_indexer() > --errlog=/var/log/koha/$name/indexer-error.log \ > --stdout=/var/log/koha/$name/indexer.log \ > --output=/var/log/koha/$name/indexer-output.log \ >+ --pidfiles=/var/run/koha/$name/ \ > --verbose=1 --respawn --delay=30 \ > --user=$name-koha.$name-koha" > >@@ -119,6 +121,7 @@ restart_indexer() > --errlog=/var/log/koha/$name/indexer-error.log \ > --stdout=/var/log/koha/$name/indexer.log \ > --output=/var/log/koha/$name/indexer-output.log \ >+ --pidfiles=/var/run/koha/$name/ \ > --verbose=1 --respawn --delay=30 \ > --user=$name-koha.$name-koha" > >-- >2.6.1
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 15011
:
43399
| 43401