Fix args for prepare-company-database.pl

This commit is contained in:
John Locke 2015-07-05 12:17:13 -07:00
parent 65bb0d35ff
commit 4a4a964975

View File

@ -18,9 +18,10 @@ if [[ ! -f ledgersmb.conf ]]; then
fi
if [ ! -z ${CREATE_DATABASE+x} ]; then
perl tools/create-company-database.pl --company $CREATE_DATABASE \
perl tools/prepare-company-database.pl --company $CREATE_DATABASE \
--host $POSTGRES_HOST \
--postgres_password "$POSTGRES_PASS"
--owner postgres \
--password "$POSTGRES_PASS"
fi
# start ledgersmb