Doc: Restart the webserver after changing group membership
refs #7153 fixes #9484
This commit is contained in:
parent
359dde708c
commit
48bee8d8fd
|
@ -207,23 +207,28 @@ groupadd -r icingaweb2
|
|||
addgroup --system icingaweb2
|
||||
````
|
||||
|
||||
Add your web server's user to the system group `icingaweb2`:
|
||||
Add your web server's user to the system group `icingaweb2`
|
||||
and restart the web server:
|
||||
|
||||
**Fedora, RHEL and CentOS**:
|
||||
````
|
||||
usermod -a -G icingaweb2 apache
|
||||
service httpd restart
|
||||
````
|
||||
|
||||
**SLES and OpenSUSE**:
|
||||
````
|
||||
usermod -A icingaweb2 wwwrun
|
||||
service apache2 restart
|
||||
````
|
||||
|
||||
**Debian and Ubuntu**:
|
||||
````
|
||||
usermod -a -G icingaweb2 www-data
|
||||
service apache2 restart
|
||||
````
|
||||
|
||||
|
||||
Use `icingacli` to create the configuration directory which defaults to **/etc/icingaweb2**:
|
||||
````
|
||||
./bin/icingacli setup config directory
|
||||
|
|
Loading…
Reference in New Issue