From owner-freebsd-rc@FreeBSD.ORG Sun Nov 27 13:13:50 2011 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F6B1106564A for ; Sun, 27 Nov 2011 13:13:50 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id D72FD8FC13 for ; Sun, 27 Nov 2011 13:13:49 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA15106 for ; Sun, 27 Nov 2011 15:13:48 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1RUeYG-000KGg-3o for freebsd-rc@freebsd.org; Sun, 27 Nov 2011 15:13:48 +0200 Message-ID: <4ED2378B.2080601@FreeBSD.org> Date: Sun, 27 Nov 2011 15:13:47 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111108 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-rc@FreeBSD.org X-Enigmail-Version: undefined Content-Type: text/plain; charset=X-VIET-VPS Content-Transfer-Encoding: 7bit Cc: Subject: rc.d/watchdogd: a suggestion X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2011 13:13:50 -0000 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: @@ -28,7 +28,8 @@ # # PROVIDE: watchdogd -# REQUIRE: DAEMON cleanvar +# REQUIRE: FILESYSTEMS syslogd cleanvar +# BEFORE: SERVERS # KEYWORD: nojail shutdown . /etc/rc.subr Not sure if it really has to be after syslogd, but I decided to keep that for POLA reasons (messages in logs). What do you think? -- Andriy Gapon