update dbench to include -u

This commit is contained in:
chabad360 2018-08-02 16:07:45 -07:00
parent 71bb7b340e
commit 949a505100

10
dbench
View file

@ -1,6 +1,6 @@
#!/bin/bash
if ! options=$(getopt -o hd:ace --long add,help,developer:,setup,start,init -- "$@")
if ! options=$(getopt -o hd:aceu --long add,help,developer:,setup,start,init -- "$@")
then
echo "entering container"
docker exec -it frappe bash
@ -88,4 +88,12 @@ if setup; then
else
docker-compose
fi
exit 0
fi
if init; then
if ! site; then
site="site1.local"
fi
frappe_installer site
fi