MailScanner and MySQL

Martin martin.lyberg at gmail.com
Tue Apr 25 14:49:50 IST 2006


James Gray wrote:

> GAH! You said it was debain...my bad.
> 
> Use the "update-rc.d" tool, as root, to modify the sequence of things so 
> that mysql starts before mailscanner.
> 
> In the debian world, the ONLY run level that is used (by default) is 2.  So, 
> unless you've customised /etc/inittab to start a different run level, all 
> the info you need will be in /etc/rc2.d/.
> 
> On my debian (sarge) servers, mysql and mailscanner both start as item 20:
> #ls /etc/rc2.d
> ...
> S20mailscanner
> S20mysql
> ...
> 
> So, to move mailscanner to start later, you'd cast the following spell (as 
> root):
> #update-rc.d -f mailscanner remove
> #update-rc.d mailscanner start 30 2 3 4 5 . stop 15 0 6 .

James,

No worries :)

I'm glad you posted this example. I will try to do the change the 
"correct" way.

Thank you



More information about the MailScanner mailing list