summaryrefslogtreecommitdiff
path: root/bareos/bareos-storage-fifo.install
diff options
context:
space:
mode:
Diffstat (limited to 'bareos/bareos-storage-fifo.install')
-rw-r--r--bareos/bareos-storage-fifo.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/bareos/bareos-storage-fifo.install b/bareos/bareos-storage-fifo.install
new file mode 100644
index 00000000..a955f809
--- /dev/null
+++ b/bareos/bareos-storage-fifo.install
@@ -0,0 +1,9 @@
+## arg 1: the new package version
+post_install() {
+ chown -R bareos:bareos /etc/bareos/bareos-dir.d
+ chown -R bareos:bareos /etc/bareos/bareos-sd.d
+}
+
+post_upgrade() {
+ post_install
+}