hi
how do i start clamav on boot from init.d or somethink?
i have it installed in
/usr/local/sbin/
and run command is
./clamd
when i put
Quote:
#!/bin/sh
# description: clam AV antivirus scanner!
# chkconfig: 2345 99 00
case "$1" in
'start')
sh /usr/local/sbin/clamd
touch /var/lock/subsys/clamAV
;;
'stop')
rm -f /var/lock/subsys/clamAV
;;
*)
echo "Usage: $0 { start | stop }"
;;
esac
exit 0
|
i get
Executing /etc/rc.d/init.d/clamAV start ..
/usr/local/sbin/clamd: /usr/local/sbin/clamd: cannot execute binary file
what does this mean?
many thx
kudos