Results 1 to 3 of 3
Howdy,
I have loaded clam av into slack with sendmail as mta. My question what is the proper way to get sendmail to start after clamav. Im looking at /etc/rc.d/rc.M ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-10-2006 #1Just Joined!
- Join Date
- Jul 2006
- Posts
- 2
Slack Init rc Daemon order
Howdy,
I have loaded clam av into slack with sendmail as mta. My question what is the proper way to get sendmail to start after clamav. Im looking at /etc/rc.d/rc.M I dont see clamav here it starts in rc.Local. how can I change the script to start sendmail after rc.local. Can a guy simply move the sendmail lines below the call to sysv and rc.local ?
TIA
- 07-11-2006 #2Just Joined!
- Join Date
- May 2006
- Posts
- 31
I would just unset the x bit on rc.sendmail and then call it from rc.local after the clamv start command.
Less chance of mucking up your boot scripts.chmod -x rc.sendmail
rc.local: . /etc/rc.d/rc.sendmail start
- 07-11-2006 #3Linux Enthusiast
- Join Date
- Jun 2005
- Location
- The Hot Humid South
- Posts
- 602
If you remove execute permission form rc.sendmail the rc.local is not going to be able to start it that way.
The best solution is to find where rc.sendmail is being started from (probably rc.M) and copy the lines from rc.local pertaining to ClamAV before it.
Another is to remove the rc.sendmail start option from whichever script it's in and putting it in rc.local after ClamAC.
Lastly, you could remove the execute permission and start it in rc.local using "bash rc.local start" or "sh rc.local start".


Reply With Quote
