Skip to content

Instantly share code, notes, and snippets.

@gdamjan
Created November 23, 2020 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdamjan/44e8daf5fbd9560e64518feb71efee77 to your computer and use it in GitHub Desktop.
Save gdamjan/44e8daf5fbd9560e64518feb71efee77 to your computer and use it in GitHub Desktop.
[uwsgi]
ini = :convertor
http-socket = :8080
static-check = %(convertor_dir)/static
static-skip-ext = .py
[service]
ini = :convertor
plugin = systemd_logger
logger = systemd
threads = 4
master-fifo = /run/convertor/master-fifo
die-on-term = true
[convertor]
master = true
harakiri = 120
convertor_dir = /opt/convertor
env = PYTHONUSERBASE=%(convertor_dir)/py-env
plugin = python3
wsgi-file = %(convertor_dir)/app.wsgi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment