paulbsd-salt/states/netbox/templates/gunicorn.py.j2
Paul Lecuq 1b59cdacdd * Update salt states
- bl module updated
- borg state updated
- config state updated
- netbox state updated
- nginx state updated
- misc updates
2022-02-21 13:52:46 +01:00

10 lines
409 B
Django/Jinja

{%- from "netbox/map.jinja" import netbox with context -%}
## {{ 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