As I understand I think I need to add something to init.d, but I am not sure what to add. At the moment to start clamav I have to do clamd start. I would like it as a service so I can start it on run level 3 as a service. I realize I could probably do this through a shell script in the right runlevel, but I would like to be able to use chkconfig to configure it.
I tried using the template mentioned to produce what is below, chkconfig still however does not list it:
#!/bin/bash clamd This starts and stops clamd. chkconfig: 3 description: Clamd is a virus scanner. processname: /usr/local/sbin/clamd/clamd config: /etc/clamd.conf pidfile: /var/run/clamd.pid