罪と罰++二律背反

./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 (4334d)