diff options
Diffstat (limited to 'bareos-traymonitor.install')
-rw-r--r-- | bareos-traymonitor.install | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bareos-traymonitor.install b/bareos-traymonitor.install new file mode 100644 index 000000000000..e4380d888c70 --- /dev/null +++ b/bareos-traymonitor.install @@ -0,0 +1,8 @@ +## arg 1: the new package version +post_install() { + /usr/lib/bareos/scripts/bareos-config initialize_local_hostname + /usr/lib/bareos/scripts/bareos-config initialize_passwords + + chown root:bareos /etc/bareos/tray-monitor.conf + chmod 640 /etc/bareos/tray-monitor.conf +} |