Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.
(Answer) (Category) Java Apache Project : (Category) Apache JServ 1.0 : (Category) Installation : (Category) Unix :
How to make Apache startup on system reboot on Solaris
----------
From: "jon *" jon@clearink.com
To: Java Apache Users java-apache-users@list.working-dogs.com
Subject: Re: how apache server can be started automaticaly.
Date: Sat, Jul 24, 1999, 1:28 PM


> can any one tell how apache service can be started automatically at system
> bootup.I am using apache1.3.3. on Intel solaris7.

put this script in /etc/rc2.d and name it S98httpd (don't forget to change
the path to the location of your apachectl script.

#!/bin/sh

APACHE_PATH=/usr/local/apache/bin

case $1 in
'start')
        if [ -f ${APACHE_PATH}/apachectl ]; then
                ${APACHE_PATH}/apachectl startssl
        fi
        ;;
'stop')
        if [ -f ${APACHE_PATH}/apachectl ]; then
                ${APACHE_PATH}/apachectl stop
        fi
        ;;
esac
[Append to This Answer]
Previous: (Answer) Stock RedHat6.0 and ApacheJServ
Next: (Answer) FreeBSD 2.2.8, apache1.3.6, JSDK 2.0, jdk1.1.5
This document is: http://java.apache.org/faq/?file=248
[Search] [Appearance] [Show Expert Edit Commands]
This is a Faq-O-Matic 2.709.
Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.