Remove extraneous strings

This commit is contained in:
Disassembler 2018-11-17 20:43:34 +01:00
parent 3dfd71eb03
commit aecf3eede2
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
3 changed files with 1 additions and 3 deletions

View File

@ -7,7 +7,7 @@ cd $(realpath $(dirname "${0}"))/install
[ ! -e /run/openrc/started/postgres ] && service postgres start && STOP_POSTGRES=1
# 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
# Configure GNU Health

View File

@ -25,7 +25,6 @@ rc-update -u
# Populate database
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
sleep 1
done

View File

@ -25,7 +25,6 @@ rc-update -u
# Populate database and create admin account
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
sleep 1
done