2022-02-21 13:52:46 +01:00
|
|
|
{%- from "netbox/map.jinja" import netbox with context -%}
|
2020-07-10 00:58:55 +02:00
|
|
|
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
|
|
|
|
2022-06-08 23:49:12 +02:00
|
|
|
command = '{{ netbox.install_dir }}/netbox/.venv/bin/gunicorn'
|
2020-07-10 00:58:55 +02:00
|
|
|
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
|