Hi,
I've added clam-av to my system to scan for virus's. That's all working fine but then I tried to make it nice and add the services to the DA service monitor as described here. http://www.directadmin.com/features.php?id=487
I figured out you need to call the service the same as the process name and make sure the script in /etc/init.d is called the same but when I click stop/start all I get is "An error has occurred" with no details.
Replacing the script with one which simply prints out the command line arguments I find its (as it should be) sending stop. The UID/GUID of the process running /etc/init.d/freshclam is root so technically everything should be working.
Anyone able to tell me then why directadmin returns "An error has occurred" ?
I've added clam-av to my system to scan for virus's. That's all working fine but then I tried to make it nice and add the services to the DA service monitor as described here. http://www.directadmin.com/features.php?id=487
I figured out you need to call the service the same as the process name and make sure the script in /etc/init.d is called the same but when I click stop/start all I get is "An error has occurred" with no details.
Replacing the script with one which simply prints out the command line arguments I find its (as it should be) sending stop. The UID/GUID of the process running /etc/init.d/freshclam is root so technically everything should be working.
Anyone able to tell me then why directadmin returns "An error has occurred" ?