add ability to create users

This commit is contained in:
ILoveYaToo 2020-04-15 23:42:38 -04:00
parent c548b3ac58
commit 6ce554bc9f

View File

@ -22,12 +22,12 @@ if [ ! -f /opt/postal/config/postal.yml ] || [[ $(cat /opt/postal/config/postal.
sleep 0.5 sleep 0.5
done done
/opt/postal/bin/postal initialize /opt/postal/bin/postal initialize
/opt/postal/bin/postal make-user << EOF /opt/postal/bin/postal make-user <<-EOF
$POSTAL_EMAIL $POSTAL_EMAIL
$POSTAL_FNAME $POSTAL_FNAME
$POSTAL_LNAME $POSTAL_LNAME
$POSTAL_PASSWORD $POSTAL_PASSWORD
EOF EOF
else else
## Wait for MySQL to start up ## Wait for MySQL to start up
echo "== Waiting for MySQL to start up ==" echo "== Waiting for MySQL to start up =="