rc.d/watchdogd: a suggestion

Doug Barton dougb at FreeBSD.org
Mon Dec 19 23:20:29 UTC 2011


On 12/19/2011 05:05, Andriy Gapon wrote:
> on 27/11/2011 22:06 Doug Barton said the following:
>> On 11/27/2011 5:13 AM, Andriy Gapon wrote:
>>>
>>> I have a suggestion to start watchdogd a little bit earlier than it is done now,
>>> and correspondingly to stop it a little bit later during shutdown:
>>
>> I have no particular opinion on changing the timing, but you haven't
>> said why you want to do it.
>>
>>> @@ -28,7 +28,8 @@
>>>  #
>>>
>>>  # PROVIDE: watchdogd
>>> -# REQUIRE: DAEMON cleanvar
>>> +# REQUIRE: FILESYSTEMS syslogd cleanvar
>>> +# BEFORE:  SERVERS
>>
>> Ideally base scripts should not use BEFORE. Change REQUIRE in SERVERS
>> instead.
> 
> BTW, etc/rc.d/syslogd is a counter-example to this rule for some reason.

Yes, there are a few of those for hysterical raisins. $SOMEDAY I'll get
around to changing them. :)


Doug

-- 

		[^L]

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/



More information about the freebsd-rc mailing list