mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #3408: Remove WEBHOOKS_ENABLE configuration setting
This commit is contained in:
@@ -199,18 +199,13 @@ timeout=120
|
||||
errorlog='/opt/netbox/netbox.log'
|
||||
```
|
||||
|
||||
Then, restart the systemd daemon service to detect the netbox service and start the netbox service:
|
||||
Finally, start the `netbox` and `netbox-rq` services and enable them to initiate at boot time:
|
||||
|
||||
```no-highlight
|
||||
# systemctl daemon-reload
|
||||
# systemctl start netbox.service
|
||||
# systemctl enable netbox.service
|
||||
```
|
||||
|
||||
If using webhooks, also start the Redis worker:
|
||||
|
||||
```no-highlight
|
||||
# systemctl start netbox-rq.service
|
||||
# systemctl enable netbox.service
|
||||
# systemctl enable netbox-rq.service
|
||||
```
|
||||
|
||||
|
@@ -89,17 +89,12 @@ timeout=120
|
||||
errorlog='/opt/netbox/netbox.log'
|
||||
```
|
||||
|
||||
Then, restart the systemd daemon service to detect the netbox service and start the netbox service:
|
||||
Finally, start the `netbox` and `netbox-rq` services and enable them to initiate at boot time:
|
||||
|
||||
```no-highlight
|
||||
# systemctl daemon-reload
|
||||
# systemctl start netbox.service
|
||||
# systemctl enable netbox.service
|
||||
```
|
||||
|
||||
If using webhooks, also start the Redis worker:
|
||||
|
||||
```no-highlight
|
||||
# systemctl start netbox-rq.service
|
||||
# systemctl enable netbox.service
|
||||
# systemctl enable netbox-rq.service
|
||||
```
|
||||
```
|
||||
|
@@ -84,17 +84,12 @@ This script:
|
||||
|
||||
# Restart the WSGI Service
|
||||
|
||||
Finally, restart the WSGI service to run the new code. If you followed this guide for the initial installation, this is done using `systemctl:
|
||||
Finally, restart the WSGI services to run the new code. If you followed this guide for the initial installation, this is done using `systemctl:
|
||||
|
||||
```no-highlight
|
||||
# sudo systemctl restart netbox
|
||||
```
|
||||
|
||||
If using webhooks, also restart the Redis worker:
|
||||
|
||||
```no-highlight
|
||||
# sudo systemctl restart netbox-rqworker
|
||||
```
|
||||
|
||||
!!! note
|
||||
It's possible you are still using supervisord instead of the linux native systemd. If you are still using supervisord you can restart the services by either restarting supervisord or by using supervisorctl to restart netbox.
|
||||
It's possible you are still using supervisord instead of the linux native systemd. If you are still using supervisord you can restart the services by either restarting supervisord or by using supervisorctl to restart netbox.
|
||||
|
Reference in New Issue
Block a user