summaryrefslogtreecommitdiffstats
path: root/dehydrated/share/logrotate
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-08-28 04:28:53 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-08-28 09:20:07 +0000
commitd897eaf5cdb0c34888771bd8aa94fd494e67af3d (patch)
treebac5112ba9ab0d7dc703cc6be67d6450e17eba9d /dehydrated/share/logrotate
parentUsing rst instead of asciidoc for manpage generation. (diff)
downloadservice-tools-d897eaf5cdb0c34888771bd8aa94fd494e67af3d.tar.xz
service-tools-d897eaf5cdb0c34888771bd8aa94fd494e67af3d.zip
Adding dehydrated tools.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'dehydrated/share/logrotate')
-rw-r--r--dehydrated/share/logrotate/dehydrated13
1 files changed, 13 insertions, 0 deletions
diff --git a/dehydrated/share/logrotate/dehydrated b/dehydrated/share/logrotate/dehydrated
new file mode 100644
index 0000000..385a4aa
--- /dev/null
+++ b/dehydrated/share/logrotate/dehydrated
@@ -0,0 +1,13 @@
+# /etc/logrotate.d/dehydrated
+
+/var/log/dehydrated/dehydrated.log {
+ compress
+ create 0640 root adm
+ dateext
+ dateformat -%Y%m
+ dateyesterday
+ missingok
+ monthly
+ notifempty
+ rotate 12
+}