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') }}
|
|
|
|
|
|
|
|
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
|