Tuesday, February 15, 2011

Orange Tabbee #9

$ cat /media/tabbee/etc/rc.d/init.d/boa
#!/bin/sh

if [ ! -x /usr/sbin/boa ]
then
exit 0
fi

if [ "$1" = "stop" -o "$1" = "restart" ]
then
echo "Stopping the boa webserver: "
killall boa
fi

if [ "$1" = "start" -o "$1" = "restart" ]
then
echo "Starting the boa webserver: "
/usr/sbin/boa $BOA_ARGS
fi

$ find /media/tabbee/ -iname boa
/media/tabbee/etc/rc.d/init.d/boa

Switched from Boa Webserver to BusyBox httpd but forgot to remove boa init script?

No comments:

Post a Comment