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:
oidz1234 2020-01-29 12:43:29 +00:00 committed by GitHub
parent 4629cda9ad
commit e109346ad4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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