[Koha-bugs] [Bug 16885] koha-stop-zebra should be more sure of stopping zebrasrv

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 3 15:31:02 CEST 2016


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

--- Comment #6 from Galen Charlton <gmcharlt at gmail.com> ---
Comment on attachment 53926
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53926
Bug 16885: koha-stop-zebra should be more sure of stopping zebrasrv

Review of attachment 53926:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=16885&attachment=53926)
-----------------------------------------------------------------

::: debian/scripts/koha-stop-zebra
@@ +35,5 @@
> +    # both daemon and zebrasrv processes for one instance
> +    # will go away, but there could be other processes
> +    # for other instances.
> +    expecting=`ps aux | grep zebra | wc -l`
> +    expecting=$((expecting-2))

zebrasrv forks a process for every active connection, so one can't count on
there being exactly two processes.

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


More information about the Koha-bugs mailing list