summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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
+}