#!/bin/bash set -e if [ -f /etc/container_environment.sh ]; then source /etc/container_environment.sh; fi; # we want to wait until rabbit and mongo container is functional. sleep 20 su app -l -s /bin/bash -c "/usr/bin/php /home/app/scripts/startBrokers.php" # XXX sleep forever # while 1: sleep 100000000