[Koha-bugs] [Bug 17467] There should be a koha-zebra script to handle Zebra daemons for instances

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 19 15:27:13 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 56662
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56662&action=edit
Bug 17467: Add koha-zebra script to handle Zebra daemons

This script is intended to replace the following currently used scripts
on packages setups:
- koha-start-zebra
- koha-stop-zebra
- koha-restart-zebra

It also introduces a --status option switch, for asking for daemon statuses

To test

- Apply the patch
- Run:
  $ sudo debian/scripts/koha-zebra --start kohadev
=> SUCCESS: same behaviour than koha-start-zebra kohadev
- Run:
  $ sudo debian/scripts/koha-zebra --stop kohadev
=> SUCCESS: same behaviour as koha-stop-zebra kohadev
- Run:
  $ sudo debian/scripts/koha-zebra --restart kohadev
=> SUCCESS: same behaviour than koha-restart-zebra kohadev
- Run:
  $ sudo debian/scripts/koha-zebra --status kohadev
=> SUCCESS: It correctly shows the status for the running (or not) process

Play with different combinations of this commands

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list