Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 1998 14:22:29 +0100
From:      Marius Bendiksen <Marius.Bendiksen@scancall.no>
To:        Rene de Vries <rene@canyon.demon.nl>, freebsd-hackers@FreeBSD.ORG (freebsd-hackers)
Cc:        eivind@yes.no (Eivind Eklund)
Subject:   Re: /etc/rc.d, and changes to /etc/rc?
Message-ID:  <3.0.5.32.19981120142229.0093e3d0@mail.scancall.no>
In-Reply-To: <199811201216.NAA00990@canyon.demon.nl>
References:  <19981119235019.54220@follo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>Wouldn't it be neat to have a command like: "service start apache" which
>starts apache (and all other services needed to run apache).

Indeed.

>I think that this could be done along the same lines as Eivind suggested,
>but without the "RC:BEFORE" option. Services should know on which other
>services they depend on and therefor you don't need a before option.

'init' doesn't, however.

>/etc/rc could then use something like ". /sbin/service start all" to start
>all services.

You need proper ordering to make this work, which one of the things Eivind
has implemented.

>I can't see all the (dis)advantages of this idea, so please don't flame me.

<flame>[insert flames here for good measure]</flame> There! ;)

---
Marius Bendiksen, IT-Trainee, ScanCall AS <marius@scancall.no>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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