#! /usr/sbin/logrotate --force # /etc/logrotate.d/login: # logrotate fragment to rotate login-related logs # # This is a customized rotation script for use with logbackup # in systems where /var/log is mounted as tmpfs. This script # is called by /etc/logbackup.d/login # # This script is adapted from Debian's default /etc/logrotate.conf # file. /var/log/wtmp { missingok notifempty daily create 0664 root utmp rotate 7 } /var/log/btmp { missingok notifempty daily create 0664 root utmp rotate 7 }