Thanks very much David for your thoughts on bug 30684, I'll proceed with making the proposed stop then start changes to the koha-* scripts! Thanks, Alex On 20/05/22 22:00, koha-devel-request@lists.koha-community.org wrote:
Send Koha-devel mailing list submissions to koha-devel@lists.koha-community.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel or, via email, send a message with subject or body 'help' to koha-devel-request@lists.koha-community.org
You can reach the person managing the list at koha-devel-owner@lists.koha-community.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Koha-devel digest..."
Today's Topics:
1. Plack graceful restart / reload (Bug 21366) (dcook@prosentient.com.au) 2. Bug 30684: Requesting community feedback on change to restart behaviour of koha-* scripts (Alex Buckley) 3. Re: Bug 30684: Requesting community feedback on change to restart behaviour of koha-* scripts (dcook@prosentient.com.au)
----------------------------------------------------------------------
Message: 1 Date: Fri, 20 May 2022 11:35:47 +1000 From: <dcook@prosentient.com.au> To: "'Koha-devel'" <koha-devel@lists.koha-community.org> Subject: [Koha-devel] Plack graceful restart / reload (Bug 21366) Message-ID: <08bd01d86be9$fb41b8d0$f1c52a70$@prosentient.com.au> Content-Type: text/plain; charset="utf-8"
Hi all,
For years, we've been talking about providing a graceful restart for Starman.
Today, I needed it for a production instance to enable plugins without disrupting anyone's Koha usage, so I ran: kill -SIGHUP $(cat /var/run/koha/<instance name>/plack.pid)
It worked so well.
I'd be happy to provide a patch, but I imagine there might be some debate about the precise implementation. So if folk could comment on https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21366 that would be great.
David Cook
Senior Software Engineer
Prosentient Systems
Suite 7.03
6a Glen St
Milsons Point NSW 2061
Australia
Office: 02 9212 0899
Online: 02 8005 0595