]> git.koha-community.org Git - koha.git/commit
Bug 15011: koha-indexer should define the --pidfiles on starting the daemon
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 14 Oct 2015 13:20:38 +0000 (13:20 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Sun, 29 Nov 2015 20:51:34 +0000 (21:51 +0100)
commit274e69a428cd3917b7b3af8dce44547719f67b87
tree131de46da865beeff74c2fb20bd011c5f9226925
parentda2dfc07e3391492ae218389467d2959d92cec3e
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.

(cherry picked from commit 0ba1fb9e7739e66f57199bba2b4809e539a00237)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
debian/scripts/koha-indexer