> How did you get clamd and freshclam to run as services? oh well... piece of cake :D I used the srvany/instsrv tools available with various versions of the windows resource toolkit (just google and you'll be able to find them); it's just a matter of using the tools to setup the two critters to run as services and then edit the registry to configure things as needed; just to sum it up; assuming your clam is installed into "c:\clamAV" (just as an example)
download the srvany.exe/instsrv.exe tools and copy both inside the clamav folder (i.e. inside c:\clamAV) run the instsrv tool to create the two services using the following instsrv ClamD c:\clamAV\srvany.exe instsrv FreshClam c:\clamAV\freshclam.exe next, fire regedit and drill down to HKLM\System\CurrentControlSet\Services find the "clamD" entry, create a "Parameters" voice under it, inside the "Parameters" subnode, create the following REG_SZ (string) values Application "c:\clamAV\clamd.exe" AppDirectory "c:\clamAV" AppParameters "--config-file=C:\clamAV\conf\clamd.conf" now find the freshclam voice, again create a "parameters" subnode and inside it, create the following values Application "c:\clamAV\freshclam.exe" AppDirectory "c:\clamAV" AppParameters "--daemon --config-file=C:\clamAV\conf\freshclam.conf" now, ensure to edit both clamd.conf and freshclam.conf so that they'll have the correct settings; e.g. for freshclam, ensure to setup a decent value for the "Checks" value (the interval used by freshclam to check for new sigs) in whatever case, try running clamd and freshclam from the cmdline using your config files and checking that they'll start correctly and without errors; once ok, you can start the two services so, just run net start clamd net start freshclam and then check the log files for clamd and freshclam, if all ok you'll now have both programs running as services and the freshclam will automatically check for new sigs and update them if needed ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Assp-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-user
