diff options
author | Malte Rabenseifner | 2015-06-20 19:32:37 +0200 |
---|---|---|
committer | Malte Rabenseifner | 2015-06-20 19:32:37 +0200 |
commit | 89ebf4213d78f92fff6b380cd534a5bee0adcf83 (patch) | |
tree | 98fe0c2651322a81fd09b667c853d9407678e29d /icingaweb2.install | |
download | aur-89ebf4213d78f92fff6b380cd534a5bee0adcf83.tar.gz |
Initial import
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." +} |