On Mon, Jan 05, 2004 at 06:16:17PM +0100, Jerome Fleury wrote: > Hello there, > > under certain conditions, I would like Radiator to shutdown itself inside a hook. I > tried: > > if ($@) { > &main::log($main::LOG_ERROR, " (jeje) cannot recreate data structures from > \"$config_file\": > [EMAIL PROTECTED] Exiting.") if $@; > close CONF; > &main::shutdown(); > } > > the log prints: > > Mon Jan 5 18:16:59 2004: NOTICE: SIGTERM received: stopping > > But the server doesn't really stop. It's still alive. > > Any idea someone ?
system('kill', '-9', $$); -- Bring me my etherkiller; Oh clouds unfold! / Bring me the magic smoke of desire I shall not cease from mental fight / Nor shall my LART rest in my hand Till we have buried the bodies / Of all the lusers in all this land -- rpg, ASR [ My homepage is http://www.trout.me.uk/ ] === Archive at http://www.open.com.au/archives/radiator/ Announcements on [EMAIL PROTECTED] To unsubscribe, email '[EMAIL PROTECTED]' with 'unsubscribe radiator' in the body of the message.