]> git.pld-linux.org Git - packages/DenyHosts.git/blobdiff - DenyHosts.cron
- add note about daemon mode, skip cron run if daemon lockfile is present
[packages/DenyHosts.git] / DenyHosts.cron
index 95151512bd5938b049af04a7e8501367d977bce2..8652c3ed416dfe051a32f3c5c936c74a30469bb7 100644 (file)
@@ -1 +1,7 @@
-*/10 * * * * root python /usr/bin/denyhosts.py -c /etc/DenyHosts.cfg
+# NOTE:
+# if you run service in daemon mode, you should really rm this cron
+# definition, they do not cope! (this file will not be reinstalled by rpm once
+# removed)
+
+MAILTO=root
+*/10 * * * * root test -f /var/lock/subsys/denyhosts && exec python /usr/bin/denyhosts.py -c /etc/DenyHosts.cfg
This page took 0.067302 seconds and 4 git commands to generate.