On Mar 9, 2010, at 3:55 PM, Tom Shaw wrote:
> I want to change how I run freshclam on OSX from running as a deamon to 
> running periodically using launchd. Unfortunately, freshclam's returning of 1 
> when no updates were required causes issues with launchd since it thinks 
> freshclam exited abnormally and attempts to respawn.

It looks like --on-update-execute=EXIT_0 is almost what you want, except it's 
reversed; you want an --on-no-update-execute flag.  :-)

On the other hand, freshclam normally uses less than 1MB of RAM, so I don't see 
what you are gaining by making changes here.  Use freshclam as a daemon, and 
have launchd monitor it and restart it if it ever goes away.

Regards,
-- 
-Chuck

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to