From owner-freebsd-ports@FreeBSD.ORG Fri Nov 20 12:07:37 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B9A31065670 for ; Fri, 20 Nov 2009 12:07:37 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp107.prem.mail.ac4.yahoo.com (smtp107.prem.mail.ac4.yahoo.com [76.13.13.46]) by mx1.freebsd.org (Postfix) with SMTP id 91A078FC17 for ; Fri, 20 Nov 2009 12:07:36 +0000 (UTC) Received: (qmail 71184 invoked from network); 20 Nov 2009 12:07:35 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=0+7QoTVvbSwmuVEAaP8uU120OAjbAHv75QifkEEVo9fGG1H80fl/ndowF5zIqfv4bDiVkmLL3W6pHr9Ri5qZywJfPoLzxNDJMGLsipxywcuNPQon3fKlthfC7cqRMfMdVmLrvYNKWX/5vC4XXMM+eWSC273bi2bw8E9GRrsHfaI= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp107.prem.mail.ac4.yahoo.com with SMTP; 20 Nov 2009 04:07:34 -0800 PST X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: P6yL23QVM1nmhzXcVRh4cAnsIumzdDT8mMwKu3ogOKKI4jQeS4pdWAsENxg84usDdLFs8Tn5xEVOfekHnOeU1CR1dnJUoRmXa0SDK6KBA9BYMcrKD698XOT7qNurng2uCrTbxa7wycK5vQc.Bd8zfQTDhjnxQ2ims6mKWBUMtP82RIwNuBA8tuaSp8YPLR3nwZQguCjloAubNxNsk1PZ7SRQqTv4qWoRDZERKzPVEzKfYAQcJjqxAqGFMdMAVwSwNa20qRIC9AjJ9AVvB9hmEBlKnYsnfoSla990h0bq5xf4H6D0CcqgXMzW2g-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.103]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 5899D2283B for ; Fri, 20 Nov 2009 07:07:34 -0500 (EST) Date: Fri, 20 Nov 2009 07:07:33 -0500 From: Jerry To: freebsd-ports@freebsd.org Message-ID: <20091120070733.36941a8f@scorpio.seibercom.net> In-Reply-To: References: Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: rc.d scripts and REQUIRE part X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2009 12:07:37 -0000 On Fri, 20 Nov 2009 11:38:58 +0100 Xavier Beaudouin replied: > 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. Change to: # REQUIRE: DAEMON cleanvar clamd You also might try in the '/usr/local/etc/rc.d/clamav-clamd' file adding: # BEFORE: havp Do not remove any entries all ready listed there. I think the first method would be your best solution however. -- Jerry gesbbb@yahoo.com |::::======= |::::======= |=========== |=========== | If life gives you lemons, make lemonade.