From owner-freebsd-questions@FreeBSD.ORG Sun Sep 10 19:02:10 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2666116A407 for ; Sun, 10 Sep 2006 19:02:10 +0000 (UTC) (envelope-from pigskin_referee@yahoo.com) Received: from web34402.mail.mud.yahoo.com (web34402.mail.mud.yahoo.com [66.163.178.151]) by mx1.FreeBSD.org (Postfix) with SMTP id B471E43D53 for ; Sun, 10 Sep 2006 19:02:09 +0000 (GMT) (envelope-from pigskin_referee@yahoo.com) Received: (qmail 41485 invoked by uid 60001); 10 Sep 2006 19:02:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=dG01qb/42LRWWgKfKBV+QcZMyDRhsnTHgDuObEsa33crf+0TxvVfjY3KL2b1FfhKFSzcbYCK5M0Y9X8nxTeJ27CbFjdgNG3RPgagPxGYURYd+7roMoUgf8sped7yPP0T2YBEcJw2xt2/Itc99/VMgLsWMtIhtlQ8FpxeNDA5Ka4= ; Message-ID: <20060910190209.41483.qmail@web34402.mail.mud.yahoo.com> Received: from [67.189.184.224] by web34402.mail.mud.yahoo.com via HTTP; Sun, 10 Sep 2006 12:02:09 PDT Date: Sun, 10 Sep 2006 12:02:09 -0700 (PDT) From: White Hat To: FreeBSD Users Questions In-Reply-To: <001701c6d509$09392600$2101a8c0@local.werner.st> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Martin Werner Subject: RE: Making startup order static X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2006 19:02:10 -0000 --- Martin Werner wrote: > Hi, > > thought about using PROVIDE and REQUIRE keywords > (see > /usr/local/etc/rc.d/clamav-clamd.sh resp. > clamav-freshclam.sh > > Maybe you might want to have a look into "man rc" or > "man rcorder" > > Cheers, > -Martin- > > > FreeBSD 6.1 > > > > I need to keep several programs starting in a > > particular order. > > > clamav-clamd > > clamav-freshclam > > clamsmtpd > > saslauthd > > dovecot > > postfix > > fetchmail > > > By default, they do not start in that order. I have > > modified the rc.d files to force them to start in > > the > > order specified above. > < > > The problem is that every time I update these > > programs > > the rc.d startup file is modified which destroys the > > changes I have made. This then requires me to > > recreate > > the modifications to force the start up order I > > require. > > > > Is there anyway I can achieve this goal in a > > simplified manner? I thought perhaps there might be > > something I could add to the /etc/rc.conf file; > > however, I have not discovered it. Martin, I don't think that you understood what I meant. Either that or I described it incorrectly. I did modify the rc.d files using BEFORE: and REQUIRE:. That works just fine. The problem is if one of those files is updated, the rc.d file is overwritten resulting in the loss of my customization. I therefore have to manually edit those files again. I was trying to find someway to circumvent that procedure. -- White Hat pigskin_referee@yahoo.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com