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

Re: thread hijacking [was: shell script for bash]



On Wed, Sep 05, 2001 at 10:36:48AM -0700, Mike Pfleger wrote:
> Yup; I just hijacked another thread, but my question is related.  If I
> want to have system-wide fetchmail started with the usual script in:
> 	/etc/init.d/
> but have it wait to make sure that sendmail is actually running before
> it starts, what would I have to do to the /etc/init.d/fetchmail script?

Give it a later number in /etc/rc?.d (probably /etc/rc2.d) than the
sendmail init script. They're started in sequence by /etc/init.d/rc.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: