|
|
On Thu, 2004-09-30 at 18:04, Dustin Lundquist wrote:
[...]
> Diff:
> dlundquist@baker:/etc/init.d$ diff clamav-freshclam clamav-freshclam.old
> 73c73
> < start-stop-daemon -S -p $PIDFILE -x $DAEMON -- -d -c "$Checks"
> --quiet -p $PIDFILE
> ---
> > start-stop-daemon -S -p $PIDFILE -x $DAEMON -- -d --quiet -p
> > $PIDFILE
Why does it need to? freshclam(1) explicitly states that configuration
is read from freshclam.conf unless overridden on the command line. Since
freshclam.conf contains the `Checks' stanza already, your proposed patch
would override the value of `Checks' from the config file with... the
value of `Checks' from the config file. :-)
AFAICS the only time the values read from the config file are used
within the init script is in the no-daemon case, and only then as part
of an effort to ensure that the foreground process is started with sane
arguments.
I'm sure the maintainer will point out if I've missed anything, but the
only time I can see where the use of -c could potentially be useful is
in the no-daemon case, which your patch didn't touch.
Regards,
Adam
--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
|
|