On 2/21/2005 13:41, tom wrote:
> im not sure but you should have a note with if you have SSL with apache to 
> include another script i know how to start Apache with SSL:
> 
> httpd -DSSL
> but how do your restart and stop it?

The apachectl should be used.

case "$1" in
    start)
        echo "Starting Apache 1.3.27 with SSL support "
        loadproc /usr/local/apache/bin/apachectl startssl
        ;;

    stop)
        echo "Stopping Apache 1.3.27, disabling SSL support "
        loadproc /usr/local/apache/bin/apachectl stop
        ;;

    restart)
        /etc/init.d/apache stop
        /usr/bin/sleep 5
        /etc/init.d/apache start
        ;;
    *)
        echo "Usage: apache {start|stop|restart}"
        exit 1
esac

It's been a long while since I looked at this script, it could probably be
improved a bit.

~Jason

-- 
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to