From 599262986964d89bd20222c809e1d02b81f15cc7 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Wed, 7 Nov 2018 14:08:30 +0100 Subject: [PATCH] Fix Motech install URL --- motech/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motech/install.sh b/motech/install.sh index 38685a5..b7fc5a7 100755 --- a/motech/install.sh +++ b/motech/install.sh @@ -32,7 +32,7 @@ done export MOTECH_ADMIN_USER="admin" export MOTECH_ADMIN_EMAIL="admin@example.com" export MOTECH_ADMIN_PWD=$(head -c 12 /dev/urandom | base64) -curl -H "Content-Type: application/json" -X POST -d "{\"adminLogin\":\"${MOTECH_ADMIN_USER}\",\"adminEmail\":\"${MOTECH_ADMIN_EMAIL}\",\"adminPassword\":\"${MOTECH_ADMIN_PWD}\",\"adminConfirmPassword\":\"${MOTECH_ADMIN_PWD}\",\"language\":\"cs\",\"providerName\":\"\",\"providerUrl\":\"\",\"schedulerUrl\":\"\"}" http://${MOTECH_IP}:8080/module/server/startup/ +curl -H "Content-Type: application/json" -X POST -d "{\"adminLogin\":\"${MOTECH_ADMIN_USER}\",\"adminEmail\":\"${MOTECH_ADMIN_EMAIL}\",\"adminPassword\":\"${MOTECH_ADMIN_PWD}\",\"adminConfirmPassword\":\"${MOTECH_ADMIN_PWD}\",\"language\":\"cs\",\"providerName\":\"\",\"providerUrl\":\"\",\"schedulerUrl\":\"\"}" http://motech:8080/module/server/startup/ service motech stop # Install config update script