search for: signals_setup

Displaying 2 results from an estimated 2 matches for "signals_setup".

2005 Feb 20
2
ices2 not re-connecting on live stream
On Sun, 2005-02-20 at 12:15, Fr?d?ric Bri?re wrote: > I've been running ices2 like this 24/7 for months now, only restarting > it once a week for log rotation. Never had a problem since. setting <logsize> will cause an automatic log rotation when a certain file size has been reached. It renames <logfile> to <logfile>.1 then opens a new file <logfile> karl.
2005 Feb 20
0
ices2 not re-connecting on live stream
...((unused))) { LOG_INFO0("Flushing logs"); - log_flush(ices_config->log_id); + log_reopen(ices_config->log_id); + LOG_INFO0("Reloading playlist"); ices_config->next_track = 1; + signal(SIGHUP, signal_hup_handler); } @@ -67,6 +69,7 @@ void signals_setup(void) { + signal(SIGHUP, signal_hup_handler); signal(SIGINT, signal_int_handler); signal(SIGTERM, signal_int_handler); signal(SIGUSR1, signal_usr1_handler); -- Fr?d?ric Bri?re <*> fbriere@fbriere.net => <fbriere@abacom.com> IS NO MORE: <http://www....