gunicorn.conf.py.template 236 B

123456789
  1. from __future__ import unicode_literals
  2. import multiprocessing
  3. bind = "unix:%(proj_path)s/gunicorn.sock"
  4. workers = %(num_workers)s
  5. errorlog = "/home/%(user)s/logs/%(proj_name)s_error.log"
  6. loglevel = "error"
  7. proc_name = "%(proj_name)s"