Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2008 13:51:02 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Heads Up: shutdown keyword added to 34 rc.d scripts.
Message-ID:  <487E5F36.201@FreeBSD.org>
In-Reply-To: <487E5DCD.3010206@FreeBSD.org>
References:  <487E533F.7050303@FreeBSD.org>	<20080716201819.GB19044@dan.emsphone.com> <487E5DCD.3010206@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?487E5F36.201>