-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

please don't send HTML email to this list.

> 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


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to