This one time, at band camp, Tim Weippert said:
> The init script returns always 0 when you ask for the current status of
> the clamav-daemon. For automated status tests like in puppet or other
> tools which know that there is an status commandline option this should
> be in case of error an none 0 value.
> 
> I think the easiest way is just exit in the "status" case with:
> 
> exit $RUNNING
> 
> or similar.

Hmm.  I see why you would want this, of course, but it was my impression
that the init scripts are supposed to exit 0.  If you can point me to a
bit of Debian policy or LSB that says otherwise, I'll make the change
you request, but otherwise I'm tempted to close this as not a bug.  You
can of course always just take the logic out of the init script and
reuse it as a monitoring script if you like.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

Reply via email to