Initialization Script - Fetchmail

James Wilkinson james at westexe.demon.co.uk
Thu Mar 17 17:30:55 UTC 2005


Matt Florido wrote:
> Thanks.  Here's part of my init script:
> start() {
>     echo -n $"Starting Fetchmail: "
>     /usr/bin/fetchmail -d 180

If it's any help, I've got this working fine. The equivalent part of my
script is
daemon fetchmail -d 500 --fetchmailrc /etc/fetchmailrc

Off the top of my head, I'm not sure whether $HOME is set to /root at
this point of the boot sequence. I wouldn't be surprised if it wasn't.

Maybe explicitly stating the path to the fetchmailrc would be a good idea.

Hope this helps,

James.

-- 
E-mail address: james | It would save me a lot of time if you just gave up
@westexe.demon.co.uk  | and went mad now.




More information about the fedora-list mailing list