Hi, I'm working on a hadoop package for Debian, which also includes init scripts using the daemon program (Debian package "daemon") from http://www.libslack.org/daemon
You can have a look at the init script(s) at http://git.debian.org/?p=pkg-java/hadoop.git;a=blob;f=debian/common-init.sh http://git.debian.org/?p=pkg-java/hadoop.git;a=blob;f=debian/hadoop-wrapper.sh The scripts still need some polishing though. The common-init.sh is sourced by different init stubs which provide only the variable NAME, see for example: http://git.debian.org/?p=pkg-java/hadoop.git;a=blob;f=debian/hadoop- jobtrackerd.init Best regards, Thomas Koch, http://www.koch.ro
