In article <[EMAIL PROTECTED]>, Adam Aube <[EMAIL PROTECTED]> wrote: >Adam Funk wrote: > >> Sometimes /etc/init.d/exim restart stops but doesn't restart >> the exim daemon. Does anyone see anything wrong? > >Maybe the sleep interval is too short, and Exim doesn't finish exiting >before the script tries to start it again. > >Try changing the "sleep 2" to "sleep 5" and see if that helps.
Or change --stop into --stop --retry SIGTERM/10, that sends SIGTERM and then waits to a maximum of 10 seconds for exim to die. Adjust to taste ... see "man start-stop-daemon". Mike. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

