#! /bin/sh
#
#ident  "@(#)local stuff"
#
# start/stop the http servers
 
case "$1" in
 
'start')
        # Start the http daemons
        if [ -f /export/home/local/httpd/httpd ]; then
                echo "starting ncsa http daemon"
                /export/home/local/httpd/StartHTTPD
        fi
 
        ;;
 
'stop')
        # Stop the http daemons
        if [ -f /export/home/local/httpd/logs/httpd.pid ] ; then
                kill -9 `cat /export/home/local/httpd/logs/httpd.pid`
        fi
 
        ;;
esac
