Remove extraneous strings
This commit is contained in:
parent
3dfd71eb03
commit
aecf3eede2
@ -7,7 +7,7 @@ cd $(realpath $(dirname "${0}"))/install
|
|||||||
[ ! -e /run/openrc/started/postgres ] && service postgres start && STOP_POSTGRES=1
|
[ ! -e /run/openrc/started/postgres ] && service postgres start && STOP_POSTGRES=1
|
||||||
|
|
||||||
# Create databases
|
# Create databases
|
||||||
export GNUHEALTH_PWD=$(head -c 18 /dev/urandom | base64 | tr -d '/+=')
|
export GNUHEALTH_PWD=$(head -c 18 /dev/urandom | base64 | tr -d '/+=')
|
||||||
envsubst <createdb.sql | lxc-attach -u 5432 -g 5432 postgres -- psql
|
envsubst <createdb.sql | lxc-attach -u 5432 -g 5432 postgres -- psql
|
||||||
|
|
||||||
# Configure GNU Health
|
# Configure GNU Health
|
||||||
|
@ -25,7 +25,6 @@ rc-update -u
|
|||||||
|
|
||||||
# Populate database
|
# Populate database
|
||||||
service mifosx start
|
service mifosx start
|
||||||
echo `date` '- Waiting for database to be populated. This should take about a minute.'
|
|
||||||
until grep -q 'Migrating schema `mifostenant-default` to version 5000' /var/log/lxc/mifosx.log; do
|
until grep -q 'Migrating schema `mifostenant-default` to version 5000' /var/log/lxc/mifosx.log; do
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
@ -25,7 +25,6 @@ rc-update -u
|
|||||||
|
|
||||||
# Populate database and create admin account
|
# Populate database and create admin account
|
||||||
service motech start
|
service motech start
|
||||||
echo `date` '- Waiting for database to be populated. This should take about a minute.'
|
|
||||||
until curl -s "http://motech:8080/module/server/startup/" | grep -q adminLogin; do
|
until curl -s "http://motech:8080/module/server/startup/" | grep -q adminLogin; do
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user