public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH 1/2] backup.pl: Include logwatch summary into backups as well
@ 2022-07-09 10:21 Peter Müller
  2022-07-09 10:21 ` [PATCH 2/2] backup.pl: Delete directives for dropped OpenVPN convert script Peter Müller
  2022-07-09 14:34 ` [PATCH 1/2] backup.pl: Include logwatch summary into backups as well Adolf Belka
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Müller @ 2022-07-09 10:21 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1283 bytes --]

Fixes: 12827
Signed-off-by: Peter Müller <peter.mueller(a)ipfire.org>
---
 config/backup/backup.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/backup/backup.pl b/config/backup/backup.pl
index 7094ed610..762437321 100644
--- a/config/backup/backup.pl
+++ b/config/backup/backup.pl
@@ -2,7 +2,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2014  IPFire Team  <info(a)ipfire.org>                     #
+# Copyright (C) 2007-2022  IPFire Team  <info(a)ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -191,7 +191,7 @@ restore_backup() {
 }
 
 find_logfiles() {
-	local filelist=( /var/log/messages* /var/log/*.log /var/log/**/*.log )
+	local filelist=( /var/log/logwatch/* /var/log/messages* /var/log/*.log /var/log/**/*.log )
 
 	echo "${filelist[@]}"
 }
-- 
2.35.3

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-09 14:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-09 10:21 [PATCH 1/2] backup.pl: Include logwatch summary into backups as well Peter Müller
2022-07-09 10:21 ` [PATCH 2/2] backup.pl: Delete directives for dropped OpenVPN convert script Peter Müller
2022-07-09 14:36   ` Adolf Belka
2022-07-09 14:34 ` [PATCH 1/2] backup.pl: Include logwatch summary into backups as well Adolf Belka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox