github.com/extrame/fabric-ca@v2.0.0-alpha+incompatible/test/fabric-ca-load-tester/launchServer.sh (about) 1 #!/bin/bash 2 numInstances=1 3 if test -n "$1" ; then 4 numInstances=$1 5 fi 6 pushd scripts/fvt 7 ./fabric-ca_setup.sh -D -X -I -S -n$numInstances -m10 -d postgres -T 8 popd 9 # Docker requires your command to keep running in the foreground. Otherwise, it thinks 10 # that command has stopped and shutsdown the container. Since fabric-ca_setup.sh starts 11 # fabric ca server in background and exits, we want this script to run in foreground and 12 # not return so the container in daemon mode continues to run for ever until it is stopped 13 tail -f /dev/null