HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   debian wheezy delay start postfix/fetchmail? (http://www.howtoforge.com/forums/showthread.php?t=57796)

commentator 2nd July 2012 19:18

debian wheezy delay start postfix/fetchmail?
 
Hi,

I'm testing Debian Wheezy with postfix mailserver and clamscan as in one of the perfect setup howto's. Also running fetchmail to pop some mailboxes.

Works perfect for previous Debian release. Saturday upgraded to Wheezy. Now there is problem when booting. Postfix/Clamscan results in abnormal high cpu load.

When disable it from starting and starting it manual after some time no problem. How can I delay this start automaticaly so I don't have to log in and start postfix manual ?

falko 3rd July 2012 16:35

You could try something like this in /etc/rc.local:

Code:

sleep 600 && /etc/init.d/postfix start
This will delay the Postfix start for ten minutes. Please note that this will also delay all other commands that come after this line in /etc/rc.local, so it is a good idea to use this as the last command (before the exit line) in /etc/rc.local.

commentator 3rd July 2012 18:11

Ok, thanks for your response.
Going to try that later this evening.

commentator 5th July 2012 20:04

update:

works perfect :) Thank you


All times are GMT +2. The time now is 10:48.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.