fixed dbench and added check for crontab

This commit is contained in:
chabad360 2018-08-01 16:25:33 -07:00
parent 8992678e7f
commit 9f5ae27000
2 changed files with 3 additions and 2 deletions

View file

@ -18,6 +18,7 @@ RUN apt-get install -y curl
RUN apt-get install -y rlwrap
RUN apt-get install redis-tools
RUN apt-get install -y nano
RUN apt-get install -y crontab
# Generate locale C.UTF-8 for mariadb and general locale data
ENV LANG C.UTF-8

4
dbench
View file

@ -40,7 +40,7 @@ then
elif [[ $1 == 'init' && $2 == '-d' ]]
then
frappe_installer
docker exec -it frappe bash -c "cat frappe-bench/sites/site1/site_config.json"
docker exec -it frappe bash -c "cat frappe-bench/sites/site1.local/site_config.json"
elif [ $1 == 'init' ]
then
@ -72,7 +72,7 @@ else
;;
:)
echo "Option -$OPTARG requires an argument." >&2
displpay_usage
display_usage
exit 1
;;
esac