On Thu, 23 Jun 2005 20:13:29 -0400 Dale Walsh <[EMAIL PROTECTED]> wrote:
> I don't think you're following me here. No, it's you not following me. > launchd works with user environments, clamav is the user, his > environment is established in a plist file, a user cannot have more > than one environment plist file, yes I can combine clamav config > files into one file that both apps use but I cannot specify different I was not talking about combining config files into one file but using two different config files: one with Foreground enabled (say freshclam- fg.conf) and a second one with this option disabled (freshclam-bg.conf). Then, with respect to your 'patch', the following holds: freshclam -D <=> freshclam -d --config-file=/path/to/freshclam-fg.conf freshclam -d <=> freshclam -d --config-file=/path/to/freshclam-bg.conf > I cannot specify a "-d" as a program argument because clamd chokes on > it. > > mustangrestomods:/ root# clamd -d > clamd: invalid option -- d > ERROR: Unknown option passed. > mustangrestomods:/ root# There's no such option and there won't be. Clamd is (in contrast to freshclam) a native daemon. > What ever arguments are specified for the user environment must be > useable by the apps specified for the environment, in this case, > freshclam and clamd. Amazing! ;-) -- oo ..... Tomasz Kojm <[EMAIL PROTECTED]> (\/)\......... http://www.ClamAV.net/gpg/tkojm.gpg \..........._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Fri Jun 24 02:17:06 CEST 2005
pgpYoHR6jRdrR.pgp
Description: PGP signature
_______________________________________________ http://lurker.clamav.net/list/clamav-devel.html