[Koha-bugs] [Bug 17311] koha-common service should be restarted on upgrade

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 11 17:45:55 CEST 2018


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

--- Comment #10 from Mirko Tietgen <mirko at abunchofthings.net> ---
Actually… without this patch, koha-common is stopped in prerm, and started in
postinst (right before the db upgrade). It's not obvious in our code, it
happens during build of the package (dh_installinit resolving the #DEBHELPER#
lines).
"koha-common stop" stops plack, so instances using plack are unavailable during
unpacking of the new package and deletion of the old files, but should be back
before the db upgrade and translation updates.

prerm happens before preinst. We don't need that part in the patch. I'll think
about the placement of the other bit.

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


More information about the Koha-bugs mailing list