Use Sanic

This commit is contained in:
2019-03-08 18:35:21 +03:00
parent 6cf94b0efe
commit 9cc13191d4
16 changed files with 340 additions and 4590 deletions
+4 -3
View File
@@ -1,9 +1,10 @@
[program:drop]
user = arch
directory = /srv/apps/drop
command = /srv/apps/drop/venv/bin/uwsgi --ini /srv/apps/drop/configs/uwsgi.ini
command = /srv/apps/drop/venv/bin/python /srv/apps/drop/autoindex.py
autostart = true
autorestart = true
stderr_logfile = /srv/apps/drop/logs/uwsgi_err.log
stdout_logfile = /srv/apps/drop/logs/uwsgi_out.log
stderr_logfile = /srv/apps/drop/logs/app.log
stdout_logfile = /srv/apps/drop/logs/app.log
stopsignal = INT
environment = ENV=PRODUCTION