This teaches the back-ends to perform a graceful shutdown when receiving a SIGUSR1 signal. I have confirmed the websocketd ignores this signal. I've also confirmed this works as expected:
kill -s USR1 -<websocketd-parent-pid>
Next question is whether we can make these changes to the sample systemd service files and/or if we need to add websocketd stop/start support to osrf_control.
osrf-websocket- stdio.c changes pushed to:
http:// git.evergreen- ils.org/ ?p=working/ OpenSRF. git;a=shortlog; h=refs/ heads/user/ berick/ lp1803182- websocketd- graceful- shutdown
This teaches the back-ends to perform a graceful shutdown when receiving a SIGUSR1 signal. I have confirmed the websocketd ignores this signal. I've also confirmed this works as expected:
kill -s USR1 -<websocketd- parent- pid>
Next question is whether we can make these changes to the sample systemd service files and/or if we need to add websocketd stop/start support to osrf_control.