summarylogtreecommitdiffstats
path: root/bareos-traymonitor.install
blob: 407370f410495b3c679acdf21fc42f3bde87ce45 (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install() {
  /usr/lib/bareos/scripts/bareos-config initialize_local_hostname
  /usr/lib/bareos/scripts/bareos-config initialize_passwords
  CONFIGDIR="/etc/bareos/tray-monitor.d/"
  chown -R root:bareos ${CONFIGDIR}
  chmod -R u=rwX,go=rX ${CONFIGDIR}
}

post_upgrade() {
  post_install
}