blob: e64a59915d0523e5031fb7c97f2066081957f4d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
mkdir /var/lib/bacula /var/log/bacula
for dir in /var/bacula /var/log/bacula /var/run/bacula /var/lib/bacula /etc/bacula/scripts/make_catalog_backup*
do
chown bacula.bacula $dir
done
for file in create_postgresql_database make_postgresql_tables grant_postgresql_privileges
do
chown postgres /etc/bacula/scripts/$file
done
|