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

Doug Barton dougb at FreeBSD.org
Wed Jul 16 20:51:04 UTC 2008


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



More information about the freebsd-current mailing list