public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH 1/2] backup.pl: Include logwatch summary into backups as well
Date: Sat, 09 Jul 2022 16:34:49 +0200	[thread overview]
Message-ID: <a5c50d4b-62a4-a696-788f-4c0e89b854f2@ipfire.org> (raw)
In-Reply-To: <232fb7fd-84cd-62c4-ffa0-261b3fa26f50@ipfire.org>

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

Reviewed-by: Adolf Belka <adolf.belka(a)ipfire.org>

On 09/07/2022 12:21, Peter Müller wrote:
> 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[@]}"
>   }

      parent reply	other threads:[~2022-07-09 14:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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:36   ` Adolf Belka
2022-07-09 14:34 ` Adolf Belka [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a5c50d4b-62a4-a696-788f-4c0e89b854f2@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox