--- /dev/null
+#!/bin/sh
+daemon="hbugs_broker"
+if [ "$1" = "--help" -o "$1" = "" ]; then
+ echo "ctl.sh { start | stop | --help }"
+ exit 0
+fi
+if [ "$1" = "start" ]; then
+ . ../../script.sh
+ echo -n "Starting HBugs broker ... "
+ ./$daemon &> run/$daemon.LOG &
+ echo "done!"
+elif [ "$1" = "stop" ]; then
+ echo -n "Stopping HBugs broker ... "
+ killall $daemon
+ echo "done!"
+fi