From owner-freebsd-hackers Tue Nov 17 15:02:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA04371 for freebsd-hackers-outgoing; Tue, 17 Nov 1998 15:02:40 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from at.dotat.com (zed.dotat.com [203.38.154.39]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA04362 for ; Tue, 17 Nov 1998 15:02:37 -0800 (PST) (envelope-from hart@at.dotat.com) Received: from at.dotat.com (localhost.dotat.com [127.0.0.1]) by at.dotat.com (8.8.8/8.8.8) with ESMTP id JAA18179; Wed, 18 Nov 1998 09:37:40 +1030 (CST) Message-Id: <199811172307.JAA18179@at.dotat.com> To: Alfred Perlstein cc: Nik Clayton , hackers@FreeBSD.ORG Subject: Re: /etc/rc.d, and changes to /etc/rc? In-reply-to: Your message of "Tue, 17 Nov 1998 16:37:07 CDT." Date: Wed, 18 Nov 1998 09:37:40 +1030 From: Leigh Hart Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Alfred, Alfred Perlstein wrote: > On Tue, 17 Nov 1998, Nik Clayton wrote: > > > On Sun, Nov 15, 1998 at 11:59:38PM +0000, Nik Clayton wrote: > > [ Creating /etc/rc.d, populating with scripts to start/stop system > > daemons, tweaking /etc/rc* to use these scripts instead ] > > > If there are no more comments by Thursday I'll take it as tacit agreement, > > and go ahead. I'll do sendmail first. > > From what i've seen 90% of these scripts wind up being broken > replacements for 'killall', that would stink. Agreed. > If they become something like: > kill `cat /...../prog.pid` > > that would be interesting and potentially useful. Indeed - nothing worse than killing the wrong program. > although killall is usually easier to type than > /etc/init.d/ kill And far more dangerous on a production system - and Nik - can I suggest you also implement the scripts as start|restart|stop rather than just start|stop as far as arguments go! Cheers Leigh -- | "By the time they had diminished | Leigh Hart, | | from 50 to 8, the other dwarves | Dotat Communications Pty Ltd | | began to suspect 'Hungry' ..." | GPO Box 487 Adelaide SA 5001 | | -- Gary Larson, "The Far Side" | http://www.dotat.com/hart/ | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message