Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2005 13:50:18 -0500
From:      "John Brooks" <john@day-light.com>
To:        =?iso-8859-1?B?S/Z2ZXNk4W4gR+Fib3I=?= <gabor.kovesdan@t-hosting.hu>
Cc:        freebsd-questions Question <freebsd-questions@freebsd.org>
Subject:   RE: rcNG issue
Message-ID:  <NHBBKEEMKJDINKDJBJHGCEJAJOAD.john@day-light.com>
In-Reply-To: <E7B8E768-9779-4CC4-A9AA-E4DF60F2375C@shire.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Jul 18, 2005, at 11:58 AM, Kövesdán Gábor wrote:
>
> > Hello,
> >
> > I have a problem with my rcNG scripts. There are three scripts:
> > named.sh, apache2.sh and proftpd.sh. Apache and ProFTPd require
> > hostname resolving thus named should start firstly.
> >
>
> Where do these scripts live?  Are they in /usr/local/etc/rc.d?
>
> If so, they run in lexographic order.  The rc ordering stuff does not
> apply to /usr/local/etc/rc.d
>
> Chad
>

An easy fix is to rename these scripts with a numeric prefix in the
order you want them to execute.
  100.named.sh
  200.apache2.sh
  300.proftpd.sh

John




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NHBBKEEMKJDINKDJBJHGCEJAJOAD.john>