From e109346ad425ac24794cbc3c6ae93e57649e3fcc Mon Sep 17 00:00:00 2001 From: oidz1234 Date: Wed, 29 Jan 2020 12:43:29 +0000 Subject: [PATCH] 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. --- docs/installation/3-http-daemon.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/installation/3-http-daemon.md b/docs/installation/3-http-daemon.md index 4ca566aa3..1bfce1a94 100644 --- a/docs/installation/3-http-daemon.md +++ b/docs/installation/3-http-daemon.md @@ -125,6 +125,10 @@ We'll use systemd to control the daemonization of NetBox services. First, copy ` !!! 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. + +!!! 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: