Shawn McMahon <[EMAIL PROTECTED]> writes:

> begin  Karsten M. Self quotation:
> > 
> > I've changed the inovcation to read:
> > 
> >     3,18,33,48 *   * * *     root /etc/init.d/fetchmail start 1>/dev/null
> > 
> > Checking just now, the daemon's still running.
> 
> Change that /dev/null to /tmp/wtfisupwithfetchmail for a while, and see
> what your script is telling you.
> 
> Sounds like your script isn't killing fetchmail on a "start".

...as it shouldn't.  It should say "fetchmail already running" and not
do anything else if fetchmail is running.  If he wanted it to restart
every time, he should change the "start" to "restart" (but it that
case it wouldn't make sense to run fetchmail as a daemon).

I don't know how the start-stop-daemon stuff works, but I'd guess it's
erroneously detecting a running fetchmail process (because of a
leftover pid file perhaps?) so it won't ever start fetchmail.

-- 
Brian Nelson <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to