Simplified entrypoint

This commit is contained in:
David Gonzalez
2017-02-15 08:29:55 +00:00
parent e1505c2c47
commit 87540d1013

View File

@@ -7,8 +7,7 @@ check_for_updates &
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/init.sh" ]]; then
if [[ "x$4" == "xdiscourse" ]]; then
nami --log-level trace8 initialize postgresql-client --inputs-file=/postgresql-client-inputs.json
nami_initialize discourse
nami_initialize postgresql-client discourse
elif [[ "x$4" == "xdiscourse-sidekiq" ]] ; then
nami_initialize discourse-sidekiq
else