New st-client deployment. Allow to load same stack id (accumulative services), ignori...
[anna.git] / example / diameter / launcher / deployments / st-client / run.sh
1 #!/bin/bash
2 cd `dirname $0`
3 EXE_BN=`basename $PWD`
4 STARTED=`pgrep $EXE_BN 2>/dev/null`
5 [ $? -eq 0 ] && { echo "Already started!"; echo "$STARTED" ; exit 1 ; }
6 0> launcher.trace
7 rm -f counters/* test-reports/*
8 # Execution line:
9 nohup ./ADML-client --cntDir counters --tmDir test-reports --disableLogs --services $SERVICES > stdout &
10 echo $! > .pid
11