On Sun, May 09, 2010 at 10:20:55 -0400, Haines Brown KB1GRM ET1 wrote:
> But I do have a question. I started fetchmail daemon:
> 
>   $ fetchmail
>   fetchmail: background fetchmail at 19841 awakened.
> 
> but see that I already have /etc/default/fetchmail (I'm running 
> debian), which means fetchmail will start automatically on boot. 
>
> However, won't fetchmail then be run by root and not see the 
> "set daemon 900" statement in ~/.fetchmailrc? So will fetchmail 
> fail to start in daemon mode for user?

In Debian, the /etc/init.d/fetchmail script will only start a
system-wide fetchmail daemon if both the proper setting is set within
/etc/default/fetchmail (e.g. START_DAEMON=yes) and the /etc/fetchmailrc
file exists.  

So unless you (or someone) specifically enabled it, the system-wide
daemon wouldn't be running.  Also, if those lines you cut-and-pasted
show that you can awaken the background process by running "fetchmail"
as yourself, that would be an indication that that background process is
also running as yourself.

 
> If so, I wonder if I can also list fetchmail in ~/.fluxbox/init? 

Personally, I start the daemon manually, but I think it should be fine
to have the window mananger start it up automatically.

                                                Nathan

Reply via email to