rc.d/watchdogd: a suggestion

Andriy Gapon avg at FreeBSD.org
Mon Dec 19 13:05:09 UTC 2011


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.

-- 
Andriy Gapon


More information about the freebsd-rc mailing list