monome / norns

norns is many sound instruments.
http://monome.org
GNU General Public License v3.0
633 stars 147 forks source link

clean up websockets in ws_wrapper on forced exit #372

Closed catfact closed 4 years ago

catfact commented 6 years ago

nanomsg / websocket doesn't seem to (always) exit cleanly after stop.sh. that script is just killall. needs signal handler

artfwo commented 6 years ago

matron osc port too

ngwese commented 6 years ago

i've started to look into this, specifically:

...there is probably more stuff but the overall goal is to have systemctl restart norns-{matron,crone} actually work.

simonvanderveldt commented 5 years ago

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.

tehn commented 5 years ago

systemctl restart norns-matron does indeed work for me.

did you run the newest 2.0 update?

ngwese commented 5 years ago

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

tehn commented 5 years ago

this seems to no longer be an issue. @ngwese can you confirm?