At 7:24 AM -0700 6/11/09, Dennis Peterson wrote: >Tom Shaw wrote: > >> >> Under OSX you should not run freshclam as a deamon but as a periodic >> process run by launchd as _clamav:_clamav. Likewise for clamd. THis >> allows for automatic process restart by launchd if there is a problem >> (for example the bug that caused 0.94.2 to randomly crash using >> unofficials on some systems). Using launchd rather than startup >> scripts or cron jobs is much cleaner under OSX. > >That is another option but certainly not a requirement of ClamAV, OS X, or >launchd. Writing clean plist files is not necessarily a common skill. Some >launchd info: http://www.afp548.com/article.php?story=20050620071558293, >http://developer.apple.com/macosx/launchd.html > >There's more than one way to do it.
I agree. Did not mean to indicate that it was a requirement but, to me at least, it is a lot simpler to fill out two simple plists and let launchd do the heavy lifting than writing startup scripts and writing and maintaining daemon monitor. That said there are almost always multiple ways to get to the same result. Tom _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml