mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 23:04:51 +02:00
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
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user