Create netbox-unit.json

Service configuration for use with Nginx Unit
This commit is contained in:
Michael Adams 2018-09-24 18:20:50 -07:00 committed by GitHub
parent aa96e3b3cf
commit 31faaf5af7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

17
scripts/netbox-unit.json Normal file
View File

@ -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"
}
}
}