daemon function isn't working in CentOS 6.4
Did you make sure to source the /etc/init.d/functions
library in your service's init.d script?
You'd need this in your init.d script:
# Source function library.
. /etc/init.d/functions
If this is already there, can you please post your daemon's start script?