(RADIATOR) Shutdown in a Hook

Jerome Fleury jeje at jeje.org
Mon Jan 5 11:16:17 CST 2004


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\":
$@. 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 ?

Thanks!
--
Jerome Fleury
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list