Improved init.d script
ssilva at sgvwater.com
Thu Aug 2 20:14:24 IST 2007
Scott Silva spake the following on 8/2/2007 11:00 AM:
> Julian Field spake the following on 8/2/2007 10:38 AM:
>> Attached are new versions of the RedHat and SuSE /etc/init.d/MailScanner
>> The improvement is obvious when you do
>> /etc/init.d/MailScanner restart
>> service MailScanner restart
>> It used to just wait for a fixed length of time (30 seconds by default).
>> Now it watches to see when the old MailScanner processes have actually
>> died, and starts it all back up again as soon as the previous
>> MailScanner is dead.
>> It is important not to 'kill -9' the MailScanner processes, as they do
>> quite a bit of cleanup so they don't leave a mess behind, for example in
>> Please let me know what you think of them, and if they work for you okay.
> Tried it on 2 of my servers, and it is working great!
> I'll do some beating on them tonite after the minions go home.
Forgot to add -- also Centos 4
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!
More information about the MailScanner