From 6ce554bc9f9bae00ae1ee9c262ddc17ec68034bb Mon Sep 17 00:00:00 2001 From: ILoveYaToo Date: Wed, 15 Apr 2020 23:42:38 -0400 Subject: [PATCH] add ability to create users --- ubuntu/src/docker-entrypoint.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ubuntu/src/docker-entrypoint.sh b/ubuntu/src/docker-entrypoint.sh index ae1d860..c31cee2 100755 --- a/ubuntu/src/docker-entrypoint.sh +++ b/ubuntu/src/docker-entrypoint.sh @@ -22,12 +22,12 @@ if [ ! -f /opt/postal/config/postal.yml ] || [[ $(cat /opt/postal/config/postal. sleep 0.5 done /opt/postal/bin/postal initialize - /opt/postal/bin/postal make-user << EOF - $POSTAL_EMAIL - $POSTAL_FNAME - $POSTAL_LNAME - $POSTAL_PASSWORD - EOF + /opt/postal/bin/postal make-user <<-EOF +$POSTAL_EMAIL +$POSTAL_FNAME +$POSTAL_LNAME +$POSTAL_PASSWORD +EOF else ## Wait for MySQL to start up echo "== Waiting for MySQL to start up =="