--- daemon-control-dist.orig 2009-04-29 23:27:05.000000000 -0400 +++ daemon-control-dist 2009-04-29 23:29:25.000000000 -0400 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!@PYTHON@ # denyhosts Bring up/down the DenyHosts daemon # # chkconfig: 2345 98 02 @@ -11,11 +11,11 @@ #### 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 = "@BIN_PATH@" +DENYHOSTS_LOCK = "@PREFIX@/var/run/denyhosts.pid" +DENYHOSTS_CFG = "@PREFIX@/share/denyhosts/denyhosts.cfg" -PYTHON_BIN = "/usr/bin/env python" +PYTHON_BIN = "@PYTHON@" ############################################### #### Do not edit below ####