summaryrefslogtreecommitdiff
path: root/cpp/tests/start_broker
blob: fe30458463869a91fbc00bdea2abbc46aa7f2632 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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