From 31faaf5af7f82013ed802975376db017990aa1b3 Mon Sep 17 00:00:00 2001 From: Michael Adams Date: Mon, 24 Sep 2018 18:20:50 -0700 Subject: [PATCH] Create netbox-unit.json Service configuration for use with Nginx Unit --- scripts/netbox-unit.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 scripts/netbox-unit.json diff --git a/scripts/netbox-unit.json b/scripts/netbox-unit.json new file mode 100644 index 000000000..555d065ee --- /dev/null +++ b/scripts/netbox-unit.json @@ -0,0 +1,17 @@ +{ + "listeners": { + "*:8001": { + "application": "netbox" + } + }, + "applications": { + "netbox": { + "type": "python 3.6", + "user": "netbox", + "group": "netbox", + "processes": 2, + "path": "/opt/netbox/netbox/", + "module": "netbox.wsgi" + } + } +}