kwork-poizonstore/_deploy/uwsgi.ini
phzhik 9d7e45cd65 + Celery
+ Update CDEK status in background
2023-12-02 17:11:08 +04:00

31 lines
875 B
INI

[uwsgi]
uid = poizon
gid = poizon
# Django-related settings
# the base directory (full path)
chdir = /var/www/phzhik-poizonstore/
# Django's wsgi file
module = vba_portal:application
# the virtualenv (full path)
virtualenv = /var/www/phzhik-poizonstore/env
# process-related settings
# master
master = true
# maximum number of worker processes
processes = 1
# the socket (use the full path to be safe
#socket = /var/www/phzhik-poizonstore/mysite.sock
socket = :8001
wsgi-file = /var/www/phzhik-poizonstore/poizonstore/wsgi.py
pidfile = /tmp/uwsgi.pid
# ... with appropriate permissions - may be needed
chmod-socket = 664
# clear environment on exit
vacuum = true
smart-attach-daemon = /tmp/celery-main.pid /var/www/phzhik-poizonstore/run_celery.sh
env = LANG=C.UTF-8
enable-threads = true