add ability to create users
This commit is contained in:
parent
c548b3ac58
commit
6ce554bc9f
|
@ -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 =="
|
||||||
|
|
Loading…
Reference in New Issue
Block a user