Sylvain Garcia <email@example.com> writes:
> Thanks for your anwswer
> How verify if the the program start by init script wait an entry on
> standard input; because when use init y hand this script work perfectly.
Ah, hm. This may be a different problem, then. Some daemons don't close
file descriptors, and Debian maintainer scripts sometimes have other file
descriptors open. This can create a situation where the maintainer script
waits for the daemon to close the file descriptor and hence hangs.
# Make sure we don't leave file descriptors open.
to the start of the init script will fix this problem. That's kind of a
hack, but without modifying the daemon, I'm not aware of a better fix.
Russ Allbery (firstname.lastname@example.org) <http://www.eyrie.org/~eagle/>