aboutsummaryrefslogtreecommitdiff
path: root/straper/db/public/logging/logrotate.d/wtmp
diff options
context:
space:
mode:
Diffstat (limited to 'straper/db/public/logging/logrotate.d/wtmp')
-rw-r--r--straper/db/public/logging/logrotate.d/wtmp8
1 files changed, 8 insertions, 0 deletions
diff --git a/straper/db/public/logging/logrotate.d/wtmp b/straper/db/public/logging/logrotate.d/wtmp
new file mode 100644
index 0000000..cc8a151
--- /dev/null
+++ b/straper/db/public/logging/logrotate.d/wtmp
@@ -0,0 +1,8 @@
+# no packages own wtmp -- we'll rotate it here
+/var/log/wtmp {
+ missingok
+ monthly
+ create 0664 root utmp
+ minsize 1M
+ rotate 1
+}