[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 Aug 24 16:15:43 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17467
Josef Moravec <josef.moravec at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #56662|0 |1
is obsolete| |
Attachment #56663|0 |1
is obsolete| |
Attachment #56664|0 |1
is obsolete| |
Attachment #56665|0 |1
is obsolete| |
Attachment #56669|0 |1
is obsolete| |
Attachment #56693|0 |1
is obsolete| |
Attachment #58550|0 |1
is obsolete| |
--- Comment #13 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 66420
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66420&action=edit
[SIGNED-OFF] 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>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list