Merge pull request #77 from akihirok2k2/master

Fix: Moving  haproxy-wi.cfg before running ./create_db.py
pull/98/head
Pavel Loginov 2018-11-08 14:38:11 +06:00 committed by GitHub
commit 76bbd64161
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 ""