Date: Thu, 7 Mar 2002 18:18:47 -0000 From: "Barry Byrne" <barry.byrne@wbtsystems.com> To: "Andreas Ntaflos" <ntaflos.andreas@gmx.net>, "Burhan Nazir" <burhan@blueyonder.co.uk> Cc: <freebsd-questions@FreeBSD.ORG> Subject: RE: Starting daemon only for user; gotta be simple? Message-ID: <NCBBIAMNAKDKFJIIGNPKMEMPHHAA.barry.byrne@wbtsystems.com> In-Reply-To: <20020307191109.B94491@Deadcell.ant>
next in thread | previous in thread | raw e-mail | index | archive | help
Andreas: Don't use fetchmail myself, but if you need to start it from a startup script but run as a different user, use su with the -c option. su USERNAME -c '/path/to/fetchmail -d 60' Cheers, Barry -- Barry Byrne, IT Manager, WBT Systems, Block 2, Harcourt Centre Harcourt Street, Dublin 2, Ireland > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Andreas Ntaflos > Sent: 07 March 2002 18:11 > To: Burhan Nazir > Cc: freebsd-questions@FreeBSD.ORG > Subject: Re: Starting daemon only for user; gotta be simple? > > > On Thu, Mar 07, 2002 at 05:37:19PM +0000, Burhan Nazir wrote: > > Oh dear, that sounds like way too much work. Try this instead: > > > > fetchmail -d 60 > > > > This will run fetchmail in deamon mode and will poll your > servers (defined in > > .fetchmailrc) every 60 seconds. > > > > Thanks for your reply; I do know about that, but I am looking for a way to > have it started automatically. The set daemon 900 option does > exactly this, > only from .fetchmailrc. Running fetchmail from the command line > without any > flags executes the options specified in .fetchmailrc. > > Why am I doing all this? Because after a reboot or shutdown now I always > forget to run fetchmail and realize it only when I see that no > new mail has > arrived for 2 days. My fault I believe :) > > regards > -- > Andreas "ant" Ntaflos > ntaflos.andreas@gmx.net > Vienna, AUSTRIA > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NCBBIAMNAKDKFJIIGNPKMEMPHHAA.barry.byrne>