From owner-freebsd-questions Tue Jul 4 17:15:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from emu.prod.itd.earthlink.net (emu.prod.itd.earthlink.net [207.217.121.31]) by hub.freebsd.org (Postfix) with ESMTP id 6BC2E37BC81 for ; Tue, 4 Jul 2000 17:14:58 -0700 (PDT) (envelope-from jim@luna.osd.bsdi.com) Received: from luna.osd.bsdi.com (1Cust230.tnt4.beaverton.or.da.uu.net [63.21.231.230]) by emu.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id RAA19940; Tue, 4 Jul 2000 17:14:54 -0700 (PDT) Received: by luna.osd.bsdi.com (Postfix, from userid 1000) id 968963146; Tue, 4 Jul 2000 17:14:45 -0700 (PDT) Date: Tue, 4 Jul 2000 17:14:45 -0700 From: Jim Mock To: Dan Fairs Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Custom configures Message-ID: <20000704171444.A36625@luna.osd.bsdi.com> Reply-To: jim@luna.osd.bsdi.com References: <20000704233609.25161.qmail@web3203.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.4i In-Reply-To: <20000704233609.25161.qmail@web3203.mail.yahoo.com>; from danfairs@yahoo.co.uk on Wed, Jul 05, 2000 at 12:36:09AM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 05 Jul 2000 at 00:36:09 +0100, Dan Fairs wrote: > Hi, > > Prompted by an earlier email, I'm curious as to what the 'standard' is > for starting services in FreeBSD. For example, I have manually > downloaded and compiled apache from source, without using the ports > collection, as I required apache+mod_ssl+php4+mod_perl. This was easy > enough to configure and compile, but... in what file would be the > 'correct' place to run the apachectl startssl command? I'd use a script in /usr/local/etc/rc.d. Something like this should work.. #!/bin/sh [ -x /usr/local/sbin/apachectl ] && /usr/local/sbin/apachectl startssl > /dev/null && echo -n ' apachessl' Replace /usr/local/sbin with the path to your installed apachectl. - jim -- /* jim mock - berkeley software design, inc - open source division */ /* documentation manager - jim@FreeBSD.org - jim@luna.osd.bsdi.com */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message