From owner-freebsd-ports@FreeBSD.ORG Fri Nov 20 10:56:10 2009 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BD001065670 for ; Fri, 20 Nov 2009 10:56:10 +0000 (UTC) (envelope-from kiwi@oav.net) Received: from mail.oav.net (mail.oav.net [193.43.215.1]) by mx1.freebsd.org (Postfix) with ESMTP id EA1178FC12 for ; Fri, 20 Nov 2009 10:56:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail02.oav.net (Postfix) with ESMTP id 0F98A61CAE for ; Fri, 20 Nov 2009 11:39:00 +0100 (CET) (envelope-from kiwi@oav.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=oav.net; h= content-transfer-encoding:content-type:content-type:user-agent :message-id:organization:subject:subject:from:from:date:date :mime-version:received:received; s=mail01; t=1258713539; bh=gKqZ 9DWmY6OdHOImTfW6Kf64wST9Ukwp3o6cz8IhJQ0=; b=Y5sDAgzDbiPO8+kJ2nMw vab326LZF7FM7akitZbXMOcvRW6IEnoaSWXj11pO9SOwjcZRLCtAPt379rjb5p5I nn7h1Wtt4FIuJfuD+0W2GHHfTOjCA1rKi2NVrZB6RFv8UPY+HFvnahQ1xF8X5DaJ 73jJci+UJ3oMRLdJyUtBmp0= X-Virus-Scanned: by amavisd-new at mail02.oav.net Received: from mail02.oav.net ([127.0.0.1]) by localhost (mail02.oav.net [127.0.0.1]) (amavisd-new, port 10026) with LMTP id 7rtAVG8cw9tS for ; Fri, 20 Nov 2009 11:38:59 +0100 (CET) Received: from webmail.openvisp.net (nat-out.openvisp.net [193.218.105.29]) by mail02.oav.net (Postfix) with ESMTP id 55A0061CAA for ; Fri, 20 Nov 2009 11:38:58 +0100 (CET) (envelope-from kiwi@oav.net) MIME-Version: 1.0 Date: Fri, 20 Nov 2009 11:38:58 +0100 From: Xavier Beaudouin To: Organization: Association Kazar Message-ID: X-Sender: kiwi@oav.net User-Agent: RoundCube Webmail/0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: rc.d scripts and REQUIRE part X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2009 10:56:10 -0000 Hello, I am trying to understand how to customize rc.d scripts to get the right startup sequence for all daemons. Seems we have (my case havp, but it is also the same problem for example monit) : /usr/local/etc/rc.d/havp : # PROVIDE: havp # REQUIRE: DAEMON cleanvar # BEFORE: LOGIN But in my configuration, I need ... clamd to be started before havp.=20 I have no garantee that clamd is started before havp. Is there any hint (I had a look in handbook, but didn't find yet) a way t= o add some REQUIRE stuff for a rc script inside, for example /etc/rc.conf ? Thanks, Xavier -- Association KAZAR - http://kazar.net/ Non profit hosting for anybody