Alexander Wirt <formo...@debian.org> writes: > However, I improved your initscript a little bit. > > I am not really convinced at all with the result, but within the > limited functions of an initscript there is not much more possible. > > I attached it to this mail.
Thanks. It looks to be more robust. (It suffers a bit in the readability department, though, but that is the nature of these things. :) I split the "pre_start" into two functions, and attached one of them to the "reload" action. Please have a look at http://anonscm.debian.org/gitweb/?p=pkg-nagios/pkg-mod-gearman;a=blob;f=debian/mod-gearman-worker.init;h=123044e3849dc8a9452d56d021050bf25be5c0a1;hb=9b661932399fe2de2782e5844e59c4dbae8134e0 -- Stig Sandbeck Mathisen
pgprcERnR5scc.pgp
Description: PGP signature