summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-09-10 00:17:57 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-09-12 11:30:07 +0000
commitac8ecf7a99bb83869251a35fdfe7334055d9f247 (patch)
tree56f2ea4df1320316ee3f2327d6942854a1f46e82
parentAdding ddns-client isc-dhcp hook. (diff)
downloadnetwork-tools-ac8ecf7a99bb83869251a35fdfe7334055d9f247.tar.xz
network-tools-ac8ecf7a99bb83869251a35fdfe7334055d9f247.zip
Adding ddns-client logrotate.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rw-r--r--ddns-client/share/logrotate/ddns-client13
1 files changed, 13 insertions, 0 deletions
diff --git a/ddns-client/share/logrotate/ddns-client b/ddns-client/share/logrotate/ddns-client
new file mode 100644
index 00000000..bf222fe4
--- /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
+}