Closed catfact closed 4 years ago
matron osc port too
i've started to look into this, specifically:
ws-wrapper
so that child processes have valid argv
not the process environmentws-wrapper
setup process groups (if need be)ws-wrapper
which closes sockets on SIGTERM
...there is probably more stuff but the overall goal is to have systemctl restart norns-{matron,crone}
actually work.
Does anyone know if any progress been made on this?
Noticed that stopping or restarting norns-matron.service
doesn't work, the matron process keeps running.
Is this an issue with ws-wrapper
?
It does seem to be working for norns-crone
(on the current 181101 release, so the sclang wrapper). Both sclang and supernova get stopped when stopping norns-crone
.
systemctl restart norns-matron
does indeed work for me.
did you run the newest 2.0 update?
i had completely forgotten about this ticket. i did tweak a few things in ws-wrapper
. iirc things were working well enough that i stopped.
i regularly restart matron
via systemctl on dev
this seems to no longer be an issue. @ngwese can you confirm?
nanomsg / websocket doesn't seem to (always) exit cleanly after
stop.sh
. that script is justkillall
. needs signal handler