]> git.pld-linux.org Git - packages/DenyHosts.git/commitdiff
- add note about daemon mode, skip cron run if daemon lockfile is present
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 31 Mar 2010 06:22:52 +0000 (06:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    DenyHosts.cron -> 1.2

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.069478 seconds and 4 git commands to generate.