From owner-freebsd-questions@FreeBSD.ORG Tue Jun 26 04:56:50 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 75FC316A400 for ; Tue, 26 Jun 2007 04:56:50 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 27A6F13C45A for ; Tue, 26 Jun 2007 04:56:50 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 10257 invoked from network); 25 Jun 2007 23:56:49 -0500 Received: from 203-206-250-1.dyn.iinet.net.au (HELO localhost) (203.206.250.1) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 25 Jun 2007 23:56:49 -0500 Date: Tue, 26 Jun 2007 14:56:45 +1000 From: Norberto Meijome To: sgmayo@mail.bloomfield.k12.mo.us Message-ID: <20070626145645.5f847e1c@localhost> In-Reply-To: <467FDCC6.5090404@mail.bloomfield.k12.mo.us> References: <467FDCC6.5090404@mail.bloomfield.k12.mo.us> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.13; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Starting Scripts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2007 04:56:50 -0000 On Mon, 25 Jun 2007 10:18:30 -0500 Scott Mayo wrote: > I have set some things to automatically start in the rc.conf like ssh > and apache by doing 'sshd_enable="YES"' and 'apache22_enable="YES"'. How > do I start things like Zope and Cyrus? [...] hi ! I think your questions have been answered. I just wanted to add that, in case it wasnt obvious from the documentation, you can start those services without having to restart your machine (it isn't MSWindows after all). Simply run /usr/local/etc/rc.d/[yourscript].sh start Now, if you haven't got "yourscript_enable='YES' " in /etc/rc.conf , the above line wont work (the script will try to start, parse rc.conf, realise the service is disabled and bail out silently). To bypass this, simply change 'start' with 'forcestart' and it'll start regardless of what rc.conf says. btw, /etc/ contains scripts and configurations from the FreeBSD system itself (and software that is part of the FreeBSD OS). /usr/local/etc/ contains the same thing for applications / services you installed (from packages and/or ports). They hardly ever overlap. B _________________________ {Beto|Norberto|Numard} Meijome "He loves nature in spite of what it did to him." Forrest Tucker I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.