From owner-freebsd-hackers Fri Nov 20 05:23:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA01263 for freebsd-hackers-outgoing; Fri, 20 Nov 1998 05:23:04 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from www.scancall.no (www.scancall.no [195.139.183.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id FAA01256 for ; Fri, 20 Nov 1998 05:23:01 -0800 (PST) (envelope-from Marius.Bendiksen@scancall.no) Received: from super2.langesund.scancall.no [195.139.183.29] by www with smtp id KCYYVMXJ; Fri, 20 Nov 98 13:22:31 GMT (PowerWeb version 4.04r6) Message-Id: <3.0.5.32.19981120142229.0093e3d0@mail.scancall.no> X-Sender: Marius@mail.scancall.no X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Fri, 20 Nov 1998 14:22:29 +0100 To: Rene de Vries , freebsd-hackers@FreeBSD.ORG (freebsd-hackers) From: Marius Bendiksen Subject: Re: /etc/rc.d, and changes to /etc/rc? Cc: eivind@yes.no (Eivind Eklund) In-Reply-To: <199811201216.NAA00990@canyon.demon.nl> References: <19981119235019.54220@follo.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >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. [insert flames here for good measure] There! ;) --- Marius Bendiksen, IT-Trainee, ScanCall AS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message