Fix error in logrotate borg2 logfile.
This commit is contained in:
parent
a5744f9eae
commit
a7c091e62d
@ -777,7 +777,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
|
||||||
|
@ -747,7 +747,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
|
||||||
|
Loading…
Reference in New Issue
Block a user