[Koha-bugs] [Bug 21366] add plack reload

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 20 03:18:12 CEST 2022


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

--- Comment #5 from David Cook <dcook at prosentient.com.au> ---
(In reply to Fridolin Somers from comment #1)
> To trigger this reload, juste run :
> 
> /bin/kill -HUP $MASTER_PID
> 
> MASTER_PID beeing the pid of the starman master process, can be fetched in
> pid file.
> 
> Source :
> https://metacpan.org/pod/distribution/Starman/script/starman#SIGNALS

I'd forgotten about this comment, but I just used the following today in prod:

kill -SIGHUP $(cat /var/run/koha/<instance name>/plack.pid)

I wanted to enable plugins and then reload after installing the plugin, and it
was so elegant.

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


More information about the Koha-bugs mailing list