from os.path import dirname, abspath,join PROJ_ROOT = abspath(dirname(dirname(dirname(__file__))))+'/' command = join(PROJ_ROOT, "/venv/bin/gunicorn") pythonpath = PROJ_ROOT bind = '127.0.0.1:8001' workers = 2 log_level = "info" error_logfile = "/home/lxf/logs/live.gunicorn.error.log"