mirror of https://github.com/Aidaho12/haproxy-wi
Merge pull request #77 from akihirok2k2/master
Fix: Moving haproxy-wi.cfg before running ./create_db.pypull/98/head
commit
76bbd64161
|
@ -1,10 +1,14 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# set -x
|
||||||
|
|
||||||
cp app/haproxy-wi.cfg /tmp/
|
cp app/haproxy-wi.cfg /tmp/
|
||||||
|
|
||||||
git reset --hard
|
git reset --hard
|
||||||
git pull https://github.com/Aidaho12/haproxy-wi.git
|
git pull https://github.com/Aidaho12/haproxy-wi.git
|
||||||
|
|
||||||
|
mv -f /tmp/haproxy-wi.cfg app/haproxy-wi.cfg
|
||||||
|
|
||||||
mkdir keys
|
mkdir keys
|
||||||
mkdir app/certs
|
mkdir app/certs
|
||||||
chmod +x app/*py
|
chmod +x app/*py
|
||||||
|
@ -24,7 +28,6 @@ pip3 install -r ../requirements.txt
|
||||||
pip3.5 install -r ../requirements.txt
|
pip3.5 install -r ../requirements.txt
|
||||||
chmod +x ../update.sh
|
chmod +x ../update.sh
|
||||||
|
|
||||||
mv /tmp/haproxy-wi.cfg app/haproxy-wi.cfg
|
|
||||||
echo "################"
|
echo "################"
|
||||||
echo ""
|
echo ""
|
||||||
echo ""
|
echo ""
|
||||||
|
|
Loading…
Reference in New Issue