include /var/log/bacula/*.log in logwatch (#924797)
This commit is contained in:
parent
6dd171151c
commit
823c612468
9
bacula-5.2.13-logwatch.patch
Normal file
9
bacula-5.2.13-logwatch.patch
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
diff --git a/scripts/logwatch/logfile.bacula.conf.in b/scripts/logwatch/logfile.bacula.conf.in
|
||||||
|
index 22b6e98..5d257ca 100644
|
||||||
|
--- a/scripts/logwatch/logfile.bacula.conf.in
|
||||||
|
+++ b/scripts/logwatch/logfile.bacula.conf.in
|
||||||
|
@@ -1,3 +1,3 @@
|
||||||
|
# What actual file? Defaults to LogPath if not absolute path....
|
||||||
|
-LogFile = @logdir@/bacula.log
|
||||||
|
+LogFile = @logdir@/*.log
|
||||||
|
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: bacula
|
Name: bacula
|
||||||
Version: 5.2.13
|
Version: 5.2.13
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
|
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
|
||||||
# See LICENSE for details
|
# See LICENSE for details
|
||||||
License: AGPLv3 with exceptions
|
License: AGPLv3 with exceptions
|
||||||
@ -36,6 +36,7 @@ Patch2: bacula-5.2.2-queryfile.patch
|
|||||||
Patch3: bacula-5.0.3-sqlite-priv.patch
|
Patch3: bacula-5.0.3-sqlite-priv.patch
|
||||||
Patch4: bacula-5.2.13-bat-build.patch
|
Patch4: bacula-5.2.13-bat-build.patch
|
||||||
Patch5: bacula-5.2.12-seg-fault.patch
|
Patch5: bacula-5.2.12-seg-fault.patch
|
||||||
|
Patch6: bacula-5.2.13-logwatch.patch
|
||||||
|
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
@ -321,6 +322,7 @@ Provides check_bacula support for Nagios.
|
|||||||
%patch3 -p0 -b .priv
|
%patch3 -p0 -b .priv
|
||||||
%patch4 -p1 -b .bat-build
|
%patch4 -p1 -b .bat-build
|
||||||
%patch5 -p1 -b .seg-fault
|
%patch5 -p1 -b .seg-fault
|
||||||
|
%patch6 -p1 -b .logwatch
|
||||||
cp %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} .
|
cp %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} .
|
||||||
|
|
||||||
# Remove execution permissions from files we're packaging as docs later on
|
# Remove execution permissions from files we're packaging as docs later on
|
||||||
@ -907,6 +909,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 08 2013 Petr Hracek <phracek@redhat.com> - 5.2.13-7
|
||||||
|
- include /var/log/bacula/*.log in logwatch (#924797)
|
||||||
|
|
||||||
* Mon Mar 04 2013 Simone Caronni <negativo17@gmail.com> - 5.2.13-6
|
* Mon Mar 04 2013 Simone Caronni <negativo17@gmail.com> - 5.2.13-6
|
||||||
- Add mt-st requirement to storage package; update quick start docs.
|
- Add mt-st requirement to storage package; update quick start docs.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user