mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 09:51:22 -06:00
Simplify the systemctl commands
This commit is contained in:
parent
798ecfc8f0
commit
be9df3c07d
@ -125,10 +125,8 @@ Then, start the `netbox` and `netbox-rq` services and enable them to initiate at
|
|||||||
|
|
||||||
```no-highlight
|
```no-highlight
|
||||||
# systemctl daemon-reload
|
# systemctl daemon-reload
|
||||||
# systemctl start netbox.service
|
# systemctl start netbox netbox-rq
|
||||||
# systemctl start netbox-rq.service
|
# systemctl enable netbox netbox-rq
|
||||||
# systemctl enable netbox.service
|
|
||||||
# systemctl enable netbox-rq.service
|
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use the command `systemctl status netbox` to verify that the WSGI service is running:
|
You can use the command `systemctl status netbox` to verify that the WSGI service is running:
|
||||||
|
@ -26,10 +26,8 @@ Then, start the `netbox` and `netbox-rq` services and enable them to initiate at
|
|||||||
|
|
||||||
```no-highlight
|
```no-highlight
|
||||||
# systemctl daemon-reload
|
# systemctl daemon-reload
|
||||||
# systemctl start netbox.service
|
# systemctl start netbox netbox-rq
|
||||||
# systemctl start netbox-rq.service
|
# systemctl enable netbox netbox-rq
|
||||||
# systemctl enable netbox.service
|
|
||||||
# systemctl enable netbox-rq.service
|
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use the command `systemctl status netbox` to verify that the WSGI service is running:
|
You can use the command `systemctl status netbox` to verify that the WSGI service is running:
|
||||||
|
@ -88,8 +88,7 @@ This script:
|
|||||||
Finally, restart the gunicorn and RQ services:
|
Finally, restart the gunicorn and RQ services:
|
||||||
|
|
||||||
```no-highlight
|
```no-highlight
|
||||||
# sudo systemctl restart netbox
|
# sudo systemctl restart netbox netbox-rq
|
||||||
# sudo systemctl restart netbox-rq
|
|
||||||
```
|
```
|
||||||
|
|
||||||
!!! note
|
!!! note
|
||||||
|
Loading…
Reference in New Issue
Block a user