From 1902934122ad94d82d6759e52f32cd722fc73477 Mon Sep 17 00:00:00 2001 From: Christopher Hubing Date: Sat, 4 Apr 2020 20:17:15 -0400 Subject: [PATCH] Update entrypoint.sh --- container_files/usr-local-bin/entrypoint.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/container_files/usr-local-bin/entrypoint.sh b/container_files/usr-local-bin/entrypoint.sh index 83e985d6..f220b548 100755 --- a/container_files/usr-local-bin/entrypoint.sh +++ b/container_files/usr-local-bin/entrypoint.sh @@ -3,4 +3,10 @@ . /usr/local/bin/library.sh prepConf -exec "$@" \ No newline at end of file +if [ "$#" -eq 0 ]; + then + finishPrep + exec /usr/bin/supervisord -c /opt/tier-support/supervisord.conf +else + exec "$@" +fi