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

--- Comment #4 from Mirko Tietgen <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to