Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
chubing authored Apr 5, 2020
1 parent 45852ff commit 1902934
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion container_files/usr-local-bin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,10 @@
. /usr/local/bin/library.sh
prepConf

exec "$@"
if [ "$#" -eq 0 ];
then
finishPrep
exec /usr/bin/supervisord -c /opt/tier-support/supervisord.conf
else
exec "$@"
fi

0 comments on commit 1902934

Please sign in to comment.