summaryrefslogtreecommitdiff
path: root/cpp/src/tests/start_broker
blob: dfbaee6bcc08e690e843fdfcd0f4a7b838e943a6 (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.
../qpidd > $LOG 2>&1 & echo $! > $PID

# FIXME aconway 2007-01-18: qpidd should not return till it is accepting
# connections, remove arbitrary sleep.
sleep 30