#!/bin/sh
#
# /etc/rc.d/rc.boa: start/stop boa HTTP daemon
#

if [ "$1" = "start" ]; then
    /usr/sbin/boa -c /etc/boa
elif [ "$1" = "stop" ]; then
    killall -q boa 
elif [ "$1" = "restart" ]; then
    kill -s SIGHUP `pidof boa`
else
    echo "usage: $0 start|stop|restart"
fi

# End of file
