diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-07-03 01:01:07 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-07-03 01:01:07 +0300 |
commit | b8f33952a144e8057365635b4b1be3ced4e52e30 (patch) | |
tree | 46f7874ac77e726febdf634a926465d6ae639272 | |
parent | 93c635278af5f1bb4a20cea818bd668b86a89417 (diff) |
bacula: pass proper econf vars
-rw-r--r-- | packages/app-backup/bacula/bacula-scm.exheres-0 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/app-backup/bacula/bacula-scm.exheres-0 b/packages/app-backup/bacula/bacula-scm.exheres-0 index 42604cb..2b323fa 100644 --- a/packages/app-backup/bacula/bacula-scm.exheres-0 +++ b/packages/app-backup/bacula/bacula-scm.exheres-0 @@ -154,6 +154,12 @@ src_configure() { --with-sd-group=bacula \ --with-fd-user=root \ --with-fd-group=bacula \ + --with-scriptdir=/usr/$(exhost --target)/libexec/bacula \ + --with-working-dir=/var/lib/bacula \ + --with-subsys-dir=/var/lock/subsys \ + --sysconfdir=/etc/bacula \ + --with-pid-dir=/var/run \ + --libdir=/usr/$(exhost --target)/lib \ --enable-smartalloc \ --disable-afs \ @@ -242,7 +248,7 @@ src_install() { edo rmdir "${IMAGE}"/usr/share/man/man1 edo rmdir "${IMAGE}"/tmp edo rmdir "${IMAGE}"/opt/bacula/log - edo rmdir "${IMAGE}"/opt/bacula/working edo rmdir "${IMAGE}"/opt/bacula edo rmdir "${IMAGE}"/opt + edo touch "${IMAGE}"/var/lib/bacula/.keep } |