diff --git a/entrypoint.sh b/entrypoint.sh index d7276b3..17eb325 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -455,6 +455,11 @@ appRun() { echo "" exec supervisord -n -c "/etc/supervisor/supervisord.conf" } +appInit() { + echo "=== Running initial setup ===" + initialConfiguration + bootstrappingEnvironment +} appManagePy() { COMMAND="$1" shift 1 @@ -541,6 +546,7 @@ appHelp() { echo "> app:restore - Restore backups of Zulip instances" echo "> app:certs - Create self-signed certificates" echo "> app:run - Run the Zulip server" + echo "> app:init - Run inital setup of Zulip server" echo "> [COMMAND] - Run given command with arguments in shell" } appVersion() { @@ -555,6 +561,9 @@ case "$1" in app:run) appRun ;; + app:init) + appInit + ;; app:managepy) shift 1 appManagePy "$@"