mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-09 09:08:15 -06:00
Create netbox-unit.json
Service configuration for use with Nginx Unit
This commit is contained in:
parent
aa96e3b3cf
commit
31faaf5af7
17
scripts/netbox-unit.json
Normal file
17
scripts/netbox-unit.json
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user