From owner-freebsd-hackers Sun Jan 31 09:48:54 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA25959 for freebsd-hackers-outgoing; Sun, 31 Jan 1999 09:48:54 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from pacman.redwoodsoft.com (redwoodsoft.com [207.181.199.182]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA25950 for ; Sun, 31 Jan 1999 09:48:52 -0800 (PST) (envelope-from dnelson@pacman.redwoodsoft.com) Received: (qmail 12686 invoked by uid 1000); 31 Jan 1999 17:48:51 -0000 Date: Sun, 31 Jan 1999 09:48:51 -0800 (PST) From: Dru Nelson To: Robert Withrow cc: freebsd-hackers@FreeBSD.ORG Subject: Re: more modular rc/init/uninit system... In-Reply-To: <199901311549.KAA06309@spooky.rwwa.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > dnelson@redwoodsoft.com said: > :- /etc/r.c/init.d/{name your service} start|stop|status|restart > > Which ignores the relationships issue. For example, restarting X > may cause Y and Z to croak! Well, I didn't say ignore the relationships issue, I was making a case for the rc.d scripts system in general. > /etc/initsys start|stop|status|restart > > Where the initsys script takes into account the relationships. Still, services like mail, httpd, dns are fairly independent. They usually don't rely on too much. However, I think this is something to strive for. It would be nice to get the warning: 'can't start httpd -> depends on database which isn't running. Start database? [Y/n]?' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message