a6a1b25fa9
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/bacula.git#611188996a7a4a233eaac53f6f2be1d13db9843b
40 lines
1.9 KiB
Diff
40 lines
1.9 KiB
Diff
diff -Naur bacula-11.0.0.old/src/dird/bacula-dir.conf.in bacula-11.0.0/src/dird/bacula-dir.conf.in
|
|
--- bacula-11.0.0.old/src/dird/bacula-dir.conf.in 2021-01-12 12:36:32.650470459 +0100
|
|
+++ bacula-11.0.0/src/dird/bacula-dir.conf.in 2021-01-12 12:36:38.297573839 +0100
|
|
@@ -18,7 +18,7 @@
|
|
Director { # define myself
|
|
Name = @basename@-dir
|
|
DIRport = @dir_port@ # where we listen for UA connections
|
|
- QueryFile = "@scriptdir@/query.sql"
|
|
+ QueryFile = "@sysconfdir@/query.sql"
|
|
WorkingDirectory = "@working_dir@"
|
|
PidDirectory = "@piddir@"
|
|
Maximum Concurrent Jobs = 20
|
|
diff -Naur bacula-11.0.0.old/src/dird/Makefile.in bacula-11.0.0/src/dird/Makefile.in
|
|
--- bacula-11.0.0.old/src/dird/Makefile.in 2021-01-12 12:36:32.657470588 +0100
|
|
+++ bacula-11.0.0/src/dird/Makefile.in 2021-01-12 12:37:37.827663637 +0100
|
|
@@ -125,11 +125,11 @@
|
|
@if test "x${dir_group}" != "x"; then \
|
|
chgrp -f ${dir_group} ${DESTDIR}${sysconfdir}/$$destconf ; \
|
|
fi
|
|
- @if test -f ${DESTDIR}${scriptdir}/query.sql; then \
|
|
+ @if test -f ${DESTDIR}${sysconfdir}/query.sql; then \
|
|
echo " ==> Saving existing query.sql to query.sql.old"; \
|
|
- $(MV) -f ${DESTDIR}${scriptdir}/query.sql ${DESTDIR}${scriptdir}/query.sql.old; \
|
|
+ $(MV) -f ${DESTDIR}${sysconfdir}/query.sql ${DESTDIR}${sysconfdir}/query.sql.old; \
|
|
fi
|
|
- ${INSTALL_DATA} query.sql ${DESTDIR}${scriptdir}/query.sql
|
|
+ ${INSTALL_DATA} query.sql ${DESTDIR}${sysconfdir}/query.sql
|
|
@if test -f static-bacula-dir; then \
|
|
$(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) static-bacula-dir $(DESTDIR)$(sbindir)/static-bacula-dir; \
|
|
fi
|
|
@@ -138,7 +138,7 @@
|
|
uninstall:
|
|
(cd $(DESTDIR)$(sbindir); $(RMF) bacula-dir bdirjson)
|
|
(cd $(DESTDIR)$(sysconfdir); $(RMF) bacula-dir.conf bacula-dir.conf.new)
|
|
- (cd $(DESTDIR)$(scriptdir); $(RMF) query.sql)
|
|
+ (cd $(DESTDIR)$(sysconfdir); $(RMF) query.sql)
|
|
|
|
|
|
|