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