Re: Heads Up: shutdown keyword added to 34 rc.d scripts.

From: Doug Barton <dougb_at_FreeBSD.org>
Date: Wed, 16 Jul 2008 13:51:02 -0700
Doug Barton wrote:
> Dan Nelson wrote:

>> I think shutdown should be reserved for programs that save state
>> between instances or otherwise would cause a "cleanup" operation to run
>> then next time they are started after an unclean shutdown. 
> 
> That's not an unreasonable argument, however IMO it's better to be safe 
> than sorry.

I forgot to add that (as you pointed out) init is going to be sending 
SIGTERM to the process anyway, so the only real difference here in 
most cases is the order in which the shutdown will happen. Thus this 
change will either do good, or do no harm.


Doug

-- 

     This .signature sanitized for your protection
Received on Wed Jul 16 2008 - 18:51:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:32 UTC