On 8/4/05, Julio Maidanik <[EMAIL PROTECTED]> wrote: > Hi, > I would have thought that starting clamd in inittab, as for example: > > av:2345:respawn:/usr/local/sbin/clamd > > would be a nice idea ... > no need to check whether clamd is alive... > > Unfortunately when I did that, I got problems. It seems that the parent > process foks a child process and then terminates, and therefore init > continually respawns the process. > > Any ideas, suggestions? > > Julio
Is this what you're looking for?: "The ClamAV distribution includes a script to allow us to start clamd every time the system boots. The script is under the contrib/init/RedHat/ directory, after the distribution's tar file is extracted. We need to copy this file to the /etc/init.d/ directory. cp /usr/local/src/clamav-#.##.#/contrib/init/RedHat/clamd/ etc/init.d/ (Change the #.##.# in the copy command above accordingly.) Now we'll make the script executable, and add it to the list of start-up services: chmod 0755 /etc/init.d/clamd chkconfig --add clamd" www.freespamfilter.org -RoNNY _______________________________________________ http://lurker.clamav.net/list/clamav-users.html
