From 913833b06e746a0018a916961dce62966fb46032 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Sat, 18 Apr 2026 20:57:15 +0100 Subject: [PATCH] Logrotate for unattended-upgrades. --- .gitattributesdb | 3 +++ etc/logrotate.d/unattended-upgrades | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 etc/logrotate.d/unattended-upgrades diff --git a/.gitattributesdb b/.gitattributesdb index e4f2317..be1e60b 100644 --- a/.gitattributesdb +++ b/.gitattributesdb @@ -424,6 +424,9 @@ bG9ncm90YXRlLmQ= - - ZXRjL2xvZ3JvdGF0ZS5kL3Nzc2QtY29tbW9u 1775062861.908540289 1776538060.248000000 root:root 0644 - - ZXRj 1776540625.004000000 1776540869.752000000 root:root 0755 - - bG9ncm90YXRlLmQ= - - +ZXRjL2xvZ3JvdGF0ZS5kL3VuYXR0ZW5kZWQtdXBncmFkZXM= 1776526714.100000000 1776542149.292000000 root:root 0644 - - +ZXRj 1776540625.004000000 1776540869.752000000 root:root 0755 - - +bG9ncm90YXRlLmQ= - - ZXRjL2xvZ3JvdGF0ZS5kL3d0bXA= 1774880296.026870307 1776538060.248000000 root:root 0644 - - ZXRj 1776540625.004000000 1776540869.752000000 root:root 0755 - - bG9ncm90YXRlLmQ= - - diff --git a/etc/logrotate.d/unattended-upgrades b/etc/logrotate.d/unattended-upgrades new file mode 100644 index 0000000..5167602 --- /dev/null +++ b/etc/logrotate.d/unattended-upgrades @@ -0,0 +1,5 @@ +/var/log/unattended-upgrades/unattended-upgrades.log /var/log/unattended-upgrades/unattended-upgrades-dpkg.log /var/log/unattended-upgrades/unattended-upgrades-shutdown.log +{ + missingok + notifempty +}