./configure --help ./configure --syscondir=/etc/clamav -- # Comment or remove the line below. #Example # Comment or remove the line below. #Example # Path to a local socket file the daemon will listen on. # Default: disabled # LocalSocket /tmp/clamd LocalSocket /var/run/clamav/clamd #!/bin/sh # chkconfig: 345 80 20 # description: Clam daemon . /etc/init.d/functions prog="/usr/sbin/clamd" prog_base="$(basename ${prog})" prog_config_file="/etc/clamav/clamd.conf" RETVAL=0 case "$1" in start) action $"Starting ${prog_base}:" ${prog} -c ${prog_config_file} RETVAL=$? echo ;; stop) echo $"Shutting down ${prog_base}" killproc ${prog_base} RETVAL=$? echo ;; status) status $"${prog_base}" RETVAL=$? ;; restart) $0 stop $0 start RETVAL=$? ;; reload) pid=`pidofproc ${prog_base}` kill -USR2 ${pid} RETVAL=$? ;; *) echo "Usage: $0 {start|stop|status|resatrt|reload}" exit esac exit $RETVAL /etc/logrotate.d/freshcalm /var/log/freshclam.log { monthly missingok } /etc/cron.daily/freshclam.sh #!/bin/sh /usr/bin/freshclam --daemon-notify --quiet --log=/var/log/freshclam.log |