diff options
Diffstat (limited to 'bareos-bat.install')
-rw-r--r-- | bareos-bat.install | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bareos-bat.install b/bareos-bat.install new file mode 100644 index 000000000000..b98fc33402bd --- /dev/null +++ b/bareos-bat.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/bat.conf + chmod 640 /etc/bareos/bat.conf +} |