[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
Thu Oct 26 17:28:07 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467
Nick Clemens <nick at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #66420|0 |1
is obsolete| |
Attachment #66421|0 |1
is obsolete| |
Attachment #66422|0 |1
is obsolete| |
Attachment #66423|0 |1
is obsolete| |
Attachment #66424|0 |1
is obsolete| |
Attachment #66425|0 |1
is obsolete| |
Attachment #66426|0 |1
is obsolete| |
--- Comment #21 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 68623
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68623&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
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list