Gunicorn Configuration
Configuration
NetBox ships with a default configuration file for gunicorn. To use it, copy
/opt/netbox/contrib/gunicorn.py
to/opt/netbox/gunicorn.py
.
Systemd Setup
We'll use systemd to control both gunicorn and NetBox's background worker process. First, copy
contrib/netbox.service
andcontrib/netbox-rq.service
to the/etc/systemd/system/
directory and reload the systemd daemon.
Then, start the
netbox
andnetbox-rq
services and enable them to initiate at boot time.
Last updated