specify the database

This commit is contained in:
Girish Ramakrishnan
2019-07-26 22:12:34 -07:00
parent af388f0f16
commit 2f861c3309

View File

@@ -208,8 +208,8 @@ if ! /bin/bash "${box_src_tmp_dir}/scripts/installer.sh" &>> "${LOG_FILE}"; then
exit 1
fi
mysql -uroot -ppassword -e "REPLACE INTO settings (name, value) VALUES ('api_server_origin', '${apiServerOrigin}');"
mysql -uroot -ppassword -e "REPLACE INTO settings (name, value) VALUES ('web_server_origin', '${webServerOrigin}');"
mysql -uroot -ppassword -e "REPLACE INTO box.settings (name, value) VALUES ('api_server_origin', '${apiServerOrigin}');"
mysql -uroot -ppassword -e "REPLACE INTO box.settings (name, value) VALUES ('web_server_origin', '${webServerOrigin}');"
echo -n "=> Waiting for cloudron to be ready (this takes some time) ..."
while true; do