Address https://rt.cpan.org/Public/Bug/Display.html?id=63704, call setsid between forks rather than after them.

Fix bug 58287 - close STDIN when daemonizing to complete the detach.

Stefan Seifert sent in a patch to make it LSB conformant. Note: start now exits with 0 if the daemon is already running.

scips noted an error in the example program.

Add File::Slurp dependency to Makefile.PL. Reported by Tom Lea <tom dot lea at zeninternet dot co dot uk>.

Ronald J Kimball <rjk at tamias dot net> sent in a patch to avoid accidently clobbering $0.