diff options
Diffstat (limited to 'app-admin/denyhosts/files/denyhosts.logrotate')
-rw-r--r-- | app-admin/denyhosts/files/denyhosts.logrotate | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app-admin/denyhosts/files/denyhosts.logrotate b/app-admin/denyhosts/files/denyhosts.logrotate new file mode 100644 index 000000000000..19a478870757 --- /dev/null +++ b/app-admin/denyhosts/files/denyhosts.logrotate @@ -0,0 +1,12 @@ +/var/log/denyhosts { + missingok + notifempty + create 0640 root root + sharedscripts + prerotate + /etc/init.d/denyhosts stop -q + endscript + postrotate + /etc/init.d/denyhosts start -q + endscript +} |