diff options
Diffstat (limited to 'icingaweb2.install')
-rw-r--r-- | icingaweb2.install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/icingaweb2.install b/icingaweb2.install new file mode 100644 index 000000000000..eddc01300373 --- /dev/null +++ b/icingaweb2.install @@ -0,0 +1,12 @@ +post_install() { + getent group icingacmd &> /dev/null && usermod -a -G icingacmd http &> /dev/null + + #chown -R root:http /etc/webapps/icingaweb2 + chown -R root:http /etc/icingaweb + chown -R http:http /var/log/icingaweb2 +} + +post_remove() { + echo " You may remove the user 'http' from group 'icingacmd' by running" + echo " 'gpasswd -d http icingacmd' if no other icinga web interface is installed." +} |