apachectl startssl at boot time ?
david.larkin at djl.co.uk
Thu Mar 3 08:51:44 PST 2005
On Thu, 3 Mar 2005 11:48:24 -0500 (EST)
"Ean Kingston" <ean at hedron.org> wrote:
> > Hi,
> > I can start apache with SSL ok from the command line
> >> apachectl startssl
> > I've now put the following into /etc/rc.conf hoping that it will start at
> > boot time.
> > apache_enable="YES"
> > apache_flags="startssl"
Works a treat .... thanks ;-)
> > This starts Apache on boot time but not with SSL
> > It seems like startssl is being passed as an argument to httpd rather than
> > apachectl.
> You are right, the startup scripts call httpd directly. If you look at the
> apachectl script you will see that the 'startssl' command does the
> if [ $RUNNING -eq 1 ]; then
> echo "$0 $ARG: httpd (pid $PID) already running"
> if $HTTPD -DSSL; then
> echo "$0 $ARG: httpd started"
> So, if you do what I said above, your web server will start up with ssl
> Ean Kingston
> E-Mail: ean_AT_hedron_DOT_org
> PGP KeyID: 1024D/CBC5D6BB
> URL: http://www.hedron.org/
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions