ottxor      14/05/14 23:22:00

  Added:                denyhosts.logrotate-r2
  Log:
  provide logrotate.d entry that works with systemd (bug #508524)
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
C2000586)

Revision  Changes    Path
1.1                  app-admin/denyhosts/files/denyhosts.logrotate-r2

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/denyhosts/files/denyhosts.logrotate-r2?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/denyhosts/files/denyhosts.logrotate-r2?rev=1.1&content-type=text/plain

Index: denyhosts.logrotate-r2
===================================================================
/var/log/denyhosts {
        missingok
        notifempty
        create 0640 root root
        sharedscripts
        postrotate
                test -e /run/openrc/softlevel && /etc/init.d/denyhosts restart 
1>/dev/null || true
                test -e /run/systemd/system && systemctl restart denyhosts 
>/dev/null || true
        endscript
}




Reply via email to