Open toots opened 4 months ago
I seem to remember icecast-kh has a "live" config reload, without interrupt things too much. Do we have that for Liquidsoap, too? (Might be difficult I guess.)
Being able to send it a SIGHUP or the like would be nice, and if it has to restart, maybe it could do…
If I do a kill -s SIGHUP 3547759
right now (3547759
being the pid of liquidsoap), I only get a message Aufgelegt
("Hung up") and LS terminates.
Using SIGHUP to signal "reload config" & flush buffers, reopen logs is quite common nowadays. Originally (when we had acoustic couplers and flakey telephone lines) it meant "a terminal session had hung up". But it’s the only signal that doesn’t answer back, and using this well-known technique follows the principle of least surprise.
(Must smile when I read this… How far have we progressed! Remembering working with a serial line at 150 baud, 24 lines of 40 characters, accessing a CompuServe node a country away. And that was in the 1970’s, not so long ago.)
Not yet, some cool feature we plan on working on. Maybe for 2.3.x
.
Discussed in https://github.com/savonet/liquidsoap/discussions/3759