21e4f78
# The Fedora default is to use daemon mode, but if you wish to have
21e4f78
# denyhosts run periodically, you can uncomment the appropriate two lines
91492f1
# and edit /etc/sysconfig/denyhosts.  (You will also have to start the
91492f1
# "service" and set it to run at boot if necessary.)
21e4f78
#
21e4f78
# Run denyhosts occasionally; adjust the time span to your liking
0c7df0a
#*/10 * * * * root [ -f /var/lock/subsys/denyhosts.init ] && /usr/bin/denyhosts.py -c /etc/denyhosts.conf
2a6b831
#
2a6b831
# Automatically purge old entries early in the morning.  Note that you must
2a6b831
# edit /etc/denyhosts.conf and set PURGE_DENY to something reasonable, as the
2a6b831
# default value purge time is set very high.
0c7df0a
#0 5 * * * root [ -f /var/lock/subsys/denyhosts.init ] && /usr/bin/denyhosts.py -c /etc/denyhosts.conf --purge