paulbsd-salt/states/netbox/templates/gunicorn.py.j2

10 lines
409 B
Plaintext
Raw Normal View History

{%- from "netbox/map.jinja" import netbox with context -%}
2020-07-10 00:58:55 +02:00
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
command = '{{ netbox.install_dir }}/netbox/bin/gunicorn'
pythonpath = '{{ netbox.install_dir }}/netbox/netbox'
bind = '{{ netbox.gunicorn.bind_addr }}:{{ netbox.gunicorn.bind_port }}'
workers = 3
user = '{{ netbox.gunicorn.run_user }}'
max_requests = 5000
max_requests_jitter = 500