mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-12 10:38:16 -06:00
netbox/manage.py rqworker command unknown
Configuration file template `/etc/supervisor/conf.d/netbox.conf` contains `netbox-rqworker` section. In case, you do not enable WEBHOOKS_ENABLE and use REDIS you get this from `supervisor` ```no-highlight Nov 16 07:21:39 localhost supervisord[14968]: 2018-11-16 07:21:39,774 INFO exited: netbox-rqworker (exit status 1; not expected) Nov 16 07:21:40 localhost supervisord[14968]: 2018-11-16 07:21:40,778 INFO spawned: 'netbox-rqworker' with pid 31816 Nov 16 07:21:41 localhost supervisord[14968]: 2018-11-16 07:21:41,781 INFO success: netbox-rqworker entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) Nov 16 07:21:43 localhost supervisord[14968]: 2018-11-16 07:21:43,008 INFO exited: netbox-rqworker (exit status 1; not expected) Nov 16 07:21:44 localhost supervisord[14968]: 2018-11-16 07:21:44,012 INFO spawned: 'netbox-rqworker' with pid 31822 Nov 16 07:21:45 localhost supervisord[14968]: 2018-11-16 07:21:45,014 INFO success: netbox-rqworker entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) ```
This commit is contained in:
parent
3366a6ae3d
commit
43366f8039
@ -134,10 +134,11 @@ command = gunicorn -c /opt/netbox/gunicorn_config.py netbox.wsgi
|
||||
directory = /opt/netbox/netbox/
|
||||
user = www-data
|
||||
|
||||
[program:netbox-rqworker]
|
||||
command = python3 /opt/netbox/netbox/manage.py rqworker
|
||||
directory = /opt/netbox/netbox/
|
||||
user = www-data
|
||||
# ### Uncomment when you enabled WEBHOOKS_ENABLE and use REDIS
|
||||
# [program:netbox-rqworker]
|
||||
# command = python3 /opt/netbox/netbox/manage.py rqworker
|
||||
# directory = /opt/netbox/netbox/
|
||||
# user = www-data
|
||||
```
|
||||
|
||||
Then, restart the supervisor service to detect and run the gunicorn service:
|
||||
|
Loading…
Reference in New Issue
Block a user