| #!/bin/sh | |
| set -e | |
| LOG=`pwd`/qpidd.log | |
| PID=`pwd`/qpidd.pid | |
| rm -rf $LOG $PID | |
| # Start the daemon, recording its PID. | |
| ../src/qpidd > $LOG 2>&1 & echo $! > $PID | |
| # FIXME aconway 2007-01-18: qpidd should not return till it is accepting | |
| # connections, remove arbitrary sleep. | |
| sleep 5 |