On Wed, May 22, 2002 at 09:42:33AM -0700, Phil Dibowitz wrote:
> Captain Zod wrote:
> 
> >Hi all,
> >Does anyone have a sample rc startup file for cyrus-imapd? If not how do 
> >you startup cyrus-imapd? I use master. The problem is that master does 
> >not detach from the terminal! If I run it in the background and put it 
> >into a startup script then I will not get the return status code!
> 
> 
> Background the process with "&" like this:
> 
> ---------------------------------------------------------------------
> #!/bin/bash
> 
> stop() {
>                 echo -n "Stopping Cyrus Mail Server... "
>                 pkill master
>                 echo "done"

Maybe not pkill master as it will surely kill postfix master as well...

Reply via email to