From ac8ecf7a99bb83869251a35fdfe7334055d9f247 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 10 Sep 2021 02:17:57 +0200 Subject: Adding ddns-client logrotate. Signed-off-by: Daniel Baumann --- ddns-client/share/logrotate/ddns-client | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ddns-client/share/logrotate/ddns-client (limited to 'ddns-client/share') diff --git a/ddns-client/share/logrotate/ddns-client b/ddns-client/share/logrotate/ddns-client new file mode 100644 index 0000000..bf222fe --- /dev/null +++ b/ddns-client/share/logrotate/ddns-client @@ -0,0 +1,13 @@ +# /etc/logrotate.d/ddns-client + +/var/log/network-tools/ddns-client.log { + compress + create 0640 root adm + dateext + dateformat -%Y%m + dateyesterday + missingok + monthly + notifempty + rotate 12 +} -- cgit v1.2.3