1 2 3 4 5 6 7 8 9 10 11 12
[Unit] Description=Netbox Daemon After=network.target [Service] User=netbox Type=simple PIDFile=/run/netbox/netbox.pid ExecStart=/usr/bin/gunicorn -c /etc/netbox/gunicorn_config.py --pythonpath /opt/netbox -p /run/netbox/netbox.pid netbox.wsgi [Install] WantedBy=multi-user.target