/etc/logrotate.d/denyhosts is in denyhosts 2.10-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | /var/log/denyhosts {
create 0640 root adm
missingok
weekly
rotate 7
compress
delaycompress
notifempty
postrotate
if [ -x /usr/sbin/invoke-rc.d ]; then \
invoke-rc.d denyhosts restart > /dev/null; \
else \
/etc/init.d/denyhosts restart > /dev/null; \
fi
endscript
}
|