On Mon, Aug 28, 2006 at 08:40:14PM +0200, Bastian Kleineidam wrote: > if the thttpd daemon is not running, the prerm script fails, since > "/etc/init.d/thttpd stop" fails to exit with a zero status.
This is just plain wrong: trofast:/usr/src/thttpd-2.23beta1# sh debian/thttpd.rc stop ; echo $? Stopping web server: No /usr/sbin/thttpd found running; none killed. 0 The only code path that _doesn't_ work is when there is a pid file but the web server does not run. This could surely be improved (the start target can't handle it either), but it surely isn't RC. The issue with invoke-rc.d is real enough, though, and I'll NMU for it. /* Steinar */ -- Homepage: http://www.sesse.net/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]