[GLLUG] freshclam -d?

Matt Graham danceswithcrows at usa.net
Wed Nov 8 13:34:55 EST 2006


On Wednesday 08 November 2006 09:21, after a long battle with 
technology, Benjamin Cathey wrote:
> What is the best way to start freshclam as a daemon? I 
> issued 'freshclam -d -c 12' from the command line.  Now how to go 
> about starting it every time the machine boots?

Look at the scripts in /etc/init.d/ , copy one, modify it to taste.  Add 
S and K symlinks to your new script in /etc/rc.d/rcN.d/ where N is the 
default runlevel for the machine.  Keywords "SysV init" may be useful 
for more info on how that whole thing is supposed to work.  "chkconfig" 
is a Redhat-specific tool, so do not rely on it.  Learn how the SysV 
setup works; every distro uses a SysV init script setup except for 
Gentoo and Slack, so it's pretty universal.

> It's on an RH9 box.

Redhat 9 was EOLed *years* ago.  Time to update, eh?

-- 
   I think I'll have to put on 500 pounds of subwoofers, amps, and other
   delicious herbs.  --MegaHAL, trained on ASR
There is no Darkness in Eternity/But only Light too dim for us to see


More information about the linux-user mailing list