40 lines
1.8 KiB
Diff
40 lines
1.8 KiB
Diff
diff -Naur bacula-7.4.5.old/src/dird/bacula-dir.conf.in bacula-7.4.5/src/dird/bacula-dir.conf.in
|
|
--- bacula-7.4.5.old/src/dird/bacula-dir.conf.in 2017-02-07 15:07:45.000000000 +0100
|
|
+++ bacula-7.4.5/src/dird/bacula-dir.conf.in 2017-02-08 14:23:08.468849148 +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-7.4.5.old/src/dird/Makefile.in bacula-7.4.5/src/dird/Makefile.in
|
|
--- bacula-7.4.5.old/src/dird/Makefile.in 2017-02-07 15:07:45.000000000 +0100
|
|
+++ bacula-7.4.5/src/dird/Makefile.in 2017-02-08 14:23:08.469849165 +0100
|
|
@@ -114,11 +114,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
|
|
@@ -126,7 +126,7 @@
|
|
|
|
uninstall:
|
|
(cd $(DESTDIR)$(sysconfdir); $(RMF) bacula-dir.conf bacula-dir.conf.new)
|
|
- (cd $(DESTDIR)$(scriptdir); $(RMF) query.sql)
|
|
+ (cd $(DESTDIR)$(sysconfdir); $(RMF) query.sql)
|
|
|
|
|
|
|