Fix error in logrotate borg2 logfile.

This commit is contained in:
Christoph 2024-12-13 01:02:41 +01:00
parent 5475acbec0
commit 53ab70325a
2 changed files with 2 additions and 2 deletions

View File

@ -742,7 +742,7 @@ blank_line
echononl "Create temporary logorotate configuration file 'logrotate_borg.conf'.." echononl "Create temporary logorotate configuration file 'logrotate_borg.conf'.."
cat << EOF > ${LOCK_DIR}/logrotate_borg.conf 2> ${log_file} cat << EOF > ${LOCK_DIR}/logrotate_borg.conf 2> ${log_file}
$(dirname "${BORG_LOG_FILE}")/* { ${BORG_LOG_FILE} {
daily daily
rotate 7 rotate 7
missingok missingok

View File

@ -714,7 +714,7 @@ blank_line
echononl "Create temporary logorotate configuration file 'logrotate_borg.conf'.." echononl "Create temporary logorotate configuration file 'logrotate_borg.conf'.."
cat << EOF > ${LOCK_DIR}/logrotate_borg.conf 2> ${log_file} cat << EOF > ${LOCK_DIR}/logrotate_borg.conf 2> ${log_file}
$(dirname "${BORG_LOG_FILE}")/* { ${BORG_LOG_FILE} {
daily daily
rotate 7 rotate 7
missingok missingok