[Koha-bugs] [Bug 22417] Add a task queue

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 2 11:41:08 CEST 2020


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

--- Comment #243 from Julian Maurice <julian.maurice at biblibre.com> ---
(In reply to Jonathan Druart from comment #241)
> (In reply to Julian Maurice from comment #240)
> > It would be great if RabbitMQ was made optional, perhaps by adding a very
> > basic task queue implementation (for instance with only 1 worker allowed to
> > avoid many problems of a task queue) that will be used if RabbitMQ is not
> > configured ?
> > But that would still require sysadmins to add a "service" (systemd service,
> > start/stop script, ...) for the worker, so there would be manual steps
> > anyway.
> > 
> > Is there a way to make background jobs work automatically on the next
> > upgrade ?
> 
> There is the a start/stop script provided with the debian package
> (debian/scripts/koha-worker). It will start the daemon like we do with other
> services. There is no extra steps needed for that part.

What about non-package installs ?
It's probably not possible to automate everything, but a minimal systemd
service file for the worker would be a good start I think. So when you
update/install Koha you just have to copy the file to /etc/systemd/system and
adjust paths/users/.. It has certainly helped me in the past with other
softwares I installed.
Can be done in another bug report, but what do you think about this ?

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


More information about the Koha-bugs mailing list