summarylogtreecommitdiffstats
path: root/matomo.install
blob: b792c5a5738827882dca7f9c4930a8bce7f39ef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
  ln -s /etc/webapps/matomo/config.ini.php /usr/share/webapps/matomo/config/

  chown -R http:http /usr/share/webapps/matomo
  chown -R http:http /etc/webapps/matomo
  chmod 600 /etc/webapps/matomo/*
}


post_upgrade() {
  chown -R http:http /usr/share/webapps/matomo
  chown -R http:http /etc/webapps/matomo
  chmod 600 /etc/webapps/matomo/*
}