From owner-freebsd-questions Tue Nov 26 14:10:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33B5737B404 for ; Tue, 26 Nov 2002 14:10:48 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D97143EC2 for ; Tue, 26 Nov 2002 14:10:45 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b072.otenet.gr [195.167.121.200]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id gAQMAfaf008650; Wed, 27 Nov 2002 00:10:42 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.6/8.12.6) with ESMTP id gAQMAVTw001929; Wed, 27 Nov 2002 00:10:40 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by gothmog.gr (8.12.6/8.12.6/Submit) id gAQH5Ns6003586; Tue, 26 Nov 2002 19:05:23 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 26 Nov 2002 19:05:22 +0200 From: Giorgos Keramidas To: nuk Cc: freebsd-questions@freebsd.org Subject: Re: starting, stopping, and reloading services Message-ID: <20021126170522.GC2019@gothmog.gr> References: <3DE2F27A.9060705@panix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-11-25 23:12, nuk wrote: > hmmm... well, cancel most of that; I found it in the hand book. Except > the part: Isn't there an easier way? Or is there a good reason for doing > it like this, or a reason *not* to write a local script to > start/stop/whatever based on the arguments passed to it? The usual reason for such things is "nobody has done it already". But in this case... NetBSD has something similar to the scripts that SysV systems use (like most Linux distributions). The scripts still use rc.conf for configuring the options and parameters of the services, and /etc/rc takes care of running the proper /etc/rc.d/service scripts when the system boots (or shuts down). The order that the /etc/rc.d scripts are executed is dynamically changed to satisfy dependencies that these scripts might have. The NetBSD rc scripts have been ported to FreeBSD 5.0 and have been tested for quite a while in the CURRENT branch. The upcoming 5.0-RELEASE of FreeBSD will use these scripts by default. Now, I do realise that a lot of users will stick to 4.x releases until the 5.x branch is considered stable enough for their purposes, and the release notes of 5.0 include an "Early Adopter's Guide" that describes why one would probably avoid running a 5.x release for some time. Yet, this seemed like a good opportunity for me to advocate one of the new, cool and exciting changes that 5.x will bring to the world :-] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message