Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How does one register a "shutdown hook"!



Hi,

In message <212B5A6D-C8F4-40B9-9A46-AA9D85D3A2F4%distal.com@localhost>
        on Mon, 2 Aug 2010 22:46:59 -0400,
        Chris Ross <cross%distal.com@localhost> wrote:
>   So, since I'm running pkgsrc conserver8 on this machine, and
>   "cleanly" shutting down the connections to the console server
>   would theoretically be a good idea, what do I need to do to the
>   rc.d action, or anywhere else, to declare that "stop" action as a
>   "shutdown hook"?
You can find "# KEYWORD: shutdown" line in /etc/rc.d/inetd.

Best regards.

-- 
Takahiro Kambe <taca%back-street.net@localhost>


Home | Main Index | Thread Index | Old Index