[Koha-bugs] [Bug 14466] is_zebra_running in koha-functions.sh is broken

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jun 28 14:32:33 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14466

--- Comment #4 from Mirko Tietgen <mirko at abunchofthings.net> ---
Created attachment 40705
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40705&action=edit
Bug 14466 -- is_zebra_running in koha-functions.sh is broken

is_zebra_running is broken, so koha-stop-zebra is broken too.
daemon needs the --pidfiles if given at start, and the --running
argumen has to be used before that.

Beware that the path to koha-functions.sh in the koha- scripts
is hardcoded for package installations (/usr/share…), so you need
to change it to match koha-functions.sh in your dev environment
to test this patch.

Test plan:

- Use koha-stop-zebra with an instance that has a running zebra.
It will tell you that zebra was already stopped.
- ps aux | grep zebra to see that is not true
- Apply patch. Modify koha-stop-zebra to use
  /your/devpath/debian/scripts/koha-functions.sh
- Use koha-stop-zebra. You will be told zebra is stopped now for
  your instance
- ps aux | grep zebra to verify it is gone

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


More information about the Koha-bugs mailing list