From: Marco Bertorello <marco@bertorello.ns0.it>
Date: Thu, 14 Apr 2011 00:11:34 +0200
Subject: 02_FHS
A patch for Debian System
---
DenyHosts/constants.py | 2 +-
daemon-control-dist | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/DenyHosts/constants.py b/DenyHosts/constants.py
index 1d898a7..d57a3b4 100644
--- a/DenyHosts/constants.py
+++ b/DenyHosts/constants.py
@@ -36,7 +36,7 @@ PURGE_HISTORY = "purge-history"
# Miscellaneous constants #
#################################################################################
-CONFIG_FILE = "denyhosts.cfg" # default can be overridden on cmd line
+CONFIG_FILE = "/etc/denyhosts.conf" # default can be overridden on cmd line
DENY_DELIMITER = "# DenyHosts:"
ENTRY_DELIMITER = " | "
diff --git a/daemon-control-dist b/daemon-control-dist
index dd49315..7df8e7a 100755
--- a/daemon-control-dist
+++ b/daemon-control-dist
@@ -11,9 +11,9 @@
#### Edit these to suit your configuration ####
###############################################
-DENYHOSTS_BIN = "/usr/bin/denyhosts.py"
-DENYHOSTS_LOCK = "/var/lock/subsys/denyhosts"
-DENYHOSTS_CFG = "/usr/share/denyhosts/denyhosts.cfg"
+DENYHOSTS_BIN = "/usr/sbin/denyhosts"
+DENYHOSTS_LOCK = "/run/denyhosts.pid"
+DENYHOSTS_CFG = "/etc/denyhosts.conf"
PYTHON_BIN = "/usr/bin/env python"
--