diff --git a/etc/logwatch/conf/logfiles/backup.conf b/etc/logwatch/conf/logfiles/backup.conf index 24d3eeb..1242119 100644 --- a/etc/logwatch/conf/logfiles/backup.conf +++ b/etc/logwatch/conf/logfiles/backup.conf @@ -11,4 +11,4 @@ Archive = /path/to/your/logfile.ext.?.gz # You don't need to change this unless you have altered the 'stamp' variable in # the script in which case you will want to update the regex in the custom pl # script below -*sqFullStampAnywhere \ No newline at end of file +*sqFullStampAnywhere diff --git a/etc/logwatch/conf/services/backup.conf b/etc/logwatch/conf/services/backup.conf index 9f4e632..82901ab 100644 --- a/etc/logwatch/conf/services/backup.conf +++ b/etc/logwatch/conf/services/backup.conf @@ -6,4 +6,4 @@ Title = "System and Mailcow Backup" # Override the detail level for this service # Remember the levels are: 0, 1-4, 5, 6+ -# Detail = 0 \ No newline at end of file +# Detail = 0 diff --git a/etc/logwatch/scripts/services/backup b/etc/logwatch/scripts/services/backup index 19b8cbe..fa88e0e 100644 --- a/etc/logwatch/scripts/services/backup +++ b/etc/logwatch/scripts/services/backup @@ -3,8 +3,8 @@ ############################################################################# # $Id$ ############################################################################# -# Log: Backup script (backup) -# Revision 1.0 2018/10/16 +# Log: mailcow backup +# Revision 1.1 2019/07/20 # Written by Asif Bacchus ############################################################################# @@ -34,7 +34,7 @@ if ($detailLevel == 0) { elsif ($ThisLine =~ /\-- \[WARNING\] /) { $summaryWarn++; } - elsif ($ThisLine =~ /All processes completed successfully/) { + elsif ($ThisLine =~ /All processes completed/) { $summarySuccess++; } } @@ -109,4 +109,4 @@ exit (0); # mode: perl # perl-indent-level: 3 # indent-tabs-mode: nil -# End: \ No newline at end of file +# End: