Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jul 2000 17:14:45 -0700
From:      Jim Mock <jim@luna.osd.bsdi.com>
To:        Dan Fairs <danfairs@yahoo.co.uk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Custom configures
Message-ID:  <20000704171444.A36625@luna.osd.bsdi.com>
In-Reply-To: <20000704233609.25161.qmail@web3203.mail.yahoo.com>; from danfairs@yahoo.co.uk on Wed, Jul 05, 2000 at 12:36:09AM %2B0100
References:  <20000704233609.25161.qmail@web3203.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000704171444.A36625>