[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem starting fetchmail as a daemon from an xterm




 > From: Hal DeVore <http://www.earthling.net/~haldevore>
 > Date: Thu  Oct  8,  7:45am
 >
 > http://dummy.us.eu.org/robert wrote:
 > > Is there an archive of the fetchmail-friends mailing list anywhere?
 > Don't know.  Don't think so.
 > 
 > > If not, could you explain why fetchmail in daemon mode dies when the
 > > xterm disappears?
 > 
 > I'm gonna have to do a bit of research.  I don't want to give a misleading
 > answer.  FWIW, on my Red Hat Linux 4.1 system I start fetchmail in daemon
 > mode using a shell script that I invoke "by hand".  It doesn't go away if
 > that xterm goes away.  I also know that on either HPUX or Solaris I had 
 > "problems" with backgrounded tasks being terminated until I switched from 
 > the Korn shell to bash.
 > 
 > -Hal <*>

I just tried what you said: the fetchmail sticks around if I start it from
tcsh.

I think it's something in xterm/rxvt because I tried another experiment.
Instead of just starting fetchmail -d (via xterm -e), I also, sleep
afterwards, to give fetchmail -d enough time to background itself (I had
to put this into a separate shell script, unfortunately).  When I do that,
it works great!

Thanks for the "push" to get at this workaround.






Why do you want this page removed?