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
|
||
|---|---|---|
| .. | ||
| koha-create | ||
| koha-create-dirs | ||
| koha-disable | ||
| koha-dump | ||
| koha-dump-defaults | ||
| koha-email-disable | ||
| koha-email-enable | ||
| koha-enable | ||
| koha-enable-sip | ||
| koha-foreach | ||
| koha-functions.sh | ||
| koha-indexer | ||
| koha-list | ||
| koha-mysql | ||
| koha-mysqlcheck | ||
| koha-rebuild-zebra | ||
| koha-remove | ||
| koha-reset-passwd | ||
| koha-restart-zebra | ||
| koha-restore | ||
| koha-run-backups | ||
| koha-shell | ||
| koha-start-sip | ||
| koha-start-zebra | ||
| koha-stop-sip | ||
| koha-stop-zebra | ||
| koha-translate | ||
| koha-upgrade-schema | ||
| koha-upgrade-to-3.4 | ||