ºá¤Èȳ++ÆóΧÇØÈ¿

./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

¥È¥Ã¥×   ÊÔ½¸ Åà·ë º¹Ê¬ ¥Ð¥Ã¥¯¥¢¥Ã¥× źÉÕ Ê£À½ ̾Á°Êѹ¹ ¥ê¥í¡¼¥É   ¿·µ¬ °ìÍ÷ ñ¸ì¸¡º÷ ºÇ½ª¹¹¿·   ¥Ø¥ë¥×   ºÇ½ª¹¹¿·¤ÎRSS
Last-modified: 2012-06-08 (¶â) 00:25:39 (2741d)