> > the diversion and everything is fine? If this is working and everybody is
> > happy with it, I will do it in that way.
> Since your package provides a wrapper around proftpd, shouldn't it
> divert /usr/sbin/proftpd and call the diverted file once the
> wrapper has done what wrappers do?
I don't want to "replace" the binary. I just want the init.d-Mechanism to
ignore the service. But it's working in that way, too. I just divert
/usr/sbin/proftpd, call /usr/sbin/proftpd.real from my supervise-run-script
and the init.d script does nothing because it does not find
/usr/sbin/proftpd. But what's the more clean solution in that case? Diverting
the binary or the init.d-script?
Are all init.d-scripts in Debian written in that way? Checking if the binary
exists and exiting if not?