summaryrefslogtreecommitdiff
path: root/bareos/bareos-filedaemon.install
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-25 15:40:41 +0100
committerErich Eckner <git@eckner.net>2019-02-25 15:40:41 +0100
commitcbc416a25d57f5541531186b402d8df9400de179 (patch)
treea6233243e6a912b72bcbb085e3cced26aaefb404 /bareos/bareos-filedaemon.install
parent8949a82c8aa34b44a06fef23f3cc1f3f5c6010d6 (diff)
downloadarchlinuxewe-cbc416a25d57f5541531186b402d8df9400de179.tar.xz
bareos new
Diffstat (limited to 'bareos/bareos-filedaemon.install')
-rw-r--r--bareos/bareos-filedaemon.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/bareos/bareos-filedaemon.install b/bareos/bareos-filedaemon.install
new file mode 100644
index 000000000..bfd1ca0f1
--- /dev/null
+++ b/bareos/bareos-filedaemon.install
@@ -0,0 +1,9 @@
+## 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
+}
+
+post_upgrade() {
+ post_install
+}