Fix: Moving haproxy-wi.cfg before running ./create_db.py

pull/77/head
akihiro_k2k 2018-11-08 14:44:04 +09:00
parent 6e0c2022ee
commit 7ffd3c20eb
1 changed files with 5 additions and 2 deletions

View File

@ -1,10 +1,14 @@
#!/bin/bash
# set -x
cp app/haproxy-wi.cfg /tmp/
git reset --hard
git pull https://github.com/Aidaho12/haproxy-wi.git
mv -f /tmp/haproxy-wi.cfg app/haproxy-wi.cfg
mkdir keys
mkdir app/certs
chmod +x app/*py
@ -24,7 +28,6 @@ pip3 install -r ../requirements.txt
pip3.5 install -r ../requirements.txt
chmod +x ../update.sh
mv /tmp/haproxy-wi.cfg app/haproxy-wi.cfg
echo "################"
echo ""
echo ""