summarylogtreecommitdiffstats
path: root/icingaweb2-git.install
blob: 7c9e7c78295a6150fb147d24febd07619de93e02 (plain)
1
2
3
4
5
6
7
8
9
10
11
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/icingaweb2
  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."
}