i did not include how ehcp is run as daemon in ehcp sourceforge documentation. here is explanation:
there is no daemon.php or daemon.sh.
it is run from index.php as a parameter.
from linux command shell run:
php index.php op=daemon &
this will start the program in daemon mod.
you can also write this in a shell script.. that is up to you.