(RADIATOR) Feature Request - Shutdown hook

Hugh Irvine hugh at open.com.au
Mon Sep 24 23:30:52 CDT 2001


Hello Rob -

How are you going to initiate the shutdown? If it is by sending a signal, you 
could use a different signal first, such as a SIGHUP or a SIGWINCH, and use 
either a StartupHook (checking the parameter passed), or use a WINCHHook.

In any case, it is easy enough to add a ShutdownHook, so I will do that in a 
minute and I'll send you the patches (and I'll also send them to Mike so he 
can add the code to the distribution for the next release).

BTW - the reason there isn't such a thing already is simply because no-one 
has asked for it before.

cheers

Hugh


On Tuesday 25 September 2001 13:12, Robert Thomson wrote:
> I have an in-memory hash that I'm wanting to flush to disk on shutdown.
>
> Ideally, this would be in a shutdown hook.
>
> Or is there a recommended way to achieve such things, given the apparent
> lack (perhaps just to me) of a shutdown hook?
>
> Cheers,
>     Rob.
>
> ===
> 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.

-- 
Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
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