Starman workers reload via signal
Hi, We recently found some interesting Starman feature. Since it is a master/workers software there is, like in Apache, a way to "gracefully" rebuild the workers without stopping master : kill -HUP 123 (123 being the master PID). Unlike stop/start of starman, the used workers will not be stopped until there task is done. During that idle workers will indeed be killed and rebuild. This is useful when one wants to refresh Plack persistence on a production running server. See : https://metacpan.org/pod/distribution/Starman/script/starman#SIGNALS We used this in our systemd service for starman : ExecReload=/bin/kill -HUP ${MAINPID} This may be usefull in koha-plack. Regards, -- Fridolin SOMERS <fridolin.somers@biblibre.com> BibLibre - software and system maintainer
participants (1)
-
Fridolin SOMERS