mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-09 00:58:16 -06:00
Note about systemd service user/group
On CentOS the default apache user is apache. On Ubuntu this is www-data. I think including a note about this in the documentation is important.
This commit is contained in:
parent
4629cda9ad
commit
e109346ad4
@ -126,6 +126,10 @@ We'll use systemd to control the daemonization of NetBox services. First, copy `
|
|||||||
!!! note
|
!!! note
|
||||||
These service files assume that gunicorn is installed at `/usr/local/bin/gunicorn`. If the output of `which gunicorn` indicates a different path, you'll need to correct the `ExecStart` path in both files.
|
These service files assume that gunicorn is installed at `/usr/local/bin/gunicorn`. If the output of `which gunicorn` indicates a different path, you'll need to correct the `ExecStart` path in both files.
|
||||||
|
|
||||||
|
!!! note
|
||||||
|
Make sure these service files are running under the correct user/group. For example in CentOS you should change the user and group from "www-data" -> "apache"
|
||||||
|
|
||||||
|
|
||||||
Then, start the `netbox` and `netbox-rq` services and enable them to initiate at boot time:
|
Then, start the `netbox` and `netbox-rq` services and enable them to initiate at boot time:
|
||||||
|
|
||||||
```no-highlight
|
```no-highlight
|
||||||
|
Loading…
Reference in New Issue
Block a user