Doc: Restart the webserver after changing group membership

refs #7153
fixes #9484
This commit is contained in:
Michael Friedrich 2015-09-27 17:12:24 +02:00
parent 359dde708c
commit 48bee8d8fd

View File

@ -207,23 +207,28 @@ groupadd -r icingaweb2
addgroup --system 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**: **Fedora, RHEL and CentOS**:
```` ````
usermod -a -G icingaweb2 apache usermod -a -G icingaweb2 apache
service httpd restart
```` ````
**SLES and OpenSUSE**: **SLES and OpenSUSE**:
```` ````
usermod -A icingaweb2 wwwrun usermod -A icingaweb2 wwwrun
service apache2 restart
```` ````
**Debian and Ubuntu**: **Debian and Ubuntu**:
```` ````
usermod -a -G icingaweb2 www-data usermod -a -G icingaweb2 www-data
service apache2 restart
```` ````
Use `icingacli` to create the configuration directory which defaults to **/etc/icingaweb2**: Use `icingacli` to create the configuration directory which defaults to **/etc/icingaweb2**:
```` ````
./bin/icingacli setup config directory ./bin/icingacli setup config directory