diff --git a/restart b/restart index 0a0590b90..a49abcda2 100644 --- a/restart +++ b/restart @@ -1,3 +1,3 @@ -source env +source /env killall gunicorn gunicorn files.__main__:app -k gevent -w 2 --reload -b 0.0.0.0:80 --reload-extra-file ./files/templates/ \ No newline at end of file diff --git a/setup b/setup index 0117bfac4..c2a9a20f0 100644 --- a/setup +++ b/setup @@ -7,6 +7,6 @@ cp /drama/redis.conf /etc/redis/redis.conf sudo systemctl restart redis.service apt install python3-pip sudo pip3 install -r requirements.txt -source env +cp env /env apt install gunicorn gunicorn files.__main__:app -k gevent -w 2 --reload -b 0.0.0.0:80 --reload-extra-file ./files/templates/ \ No newline at end of file