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

Re: How to run fetchmail as daemon at startup



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/22/07 08:18, Jochen Schulz wrote:
> Ron Johnson:
>> On 03/22/07 08:03, Roberto C. Sánchez wrote:
>>> To make it start up as user, edit your crontab (use `crontab -e`) and
>>> put '@startup fetchmail' (no quotes in either case).  Then, whenever
>>> your machine starts up, it should start fetchmail for you.
>>
>> Shouldn't it also put a symlink in /etc/rc3.d ?
> 
> No. Things in crontabs are started by cron (d'ouh!). And cron itself is
> already started by an init script.

I think you're wrong.  My system does fetchmail startup using runlevels.

$ ls -l /etc/rc3.d/S99fet*
lrwxrwxrwx 1 root root 19 Oct 16  2005 /etc/rc3.d/S99fetchmail ->
     ../init.d/fetchmail

$ ls -l /etc/init.d/fetch*
- -rwxr-xr-x 1 root root 7202 Mar  8 07:01 /etc/init.d/fetchmail

> 
> J.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGAoUmS9HxQb37XmcRAm/zAKDFB/V0zJf9S/OX9b71BdyKJBWu7wCdFe9C
/XnaUM1sPhtflaFkbCfr394=
=hYYX
-----END PGP SIGNATURE-----



Reply to: