diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-09-10 00:17:57 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-09-12 11:30:07 +0000 |
commit | ac8ecf7a99bb83869251a35fdfe7334055d9f247 (patch) | |
tree | 56f2ea4df1320316ee3f2327d6942854a1f46e82 /ddns-client/share/logrotate | |
parent | Adding ddns-client isc-dhcp hook. (diff) | |
download | network-tools-ac8ecf7a99bb83869251a35fdfe7334055d9f247.tar.xz network-tools-ac8ecf7a99bb83869251a35fdfe7334055d9f247.zip |
Adding ddns-client logrotate.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'ddns-client/share/logrotate')
-rw-r--r-- | ddns-client/share/logrotate/ddns-client | 13 |
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 +} |