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"!



On Aug 2, 2010, at 10:50 PM, Takahiro Kambe wrote:
> 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.

  Thank you!  I will request that in pkgsrc-users, and/or the maintainer of 
that package.

     - Chris



Home | Main Index | Thread Index | Old Index