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

Re: daemons and init scripts



Per the man page kadmind doesn't take that option.  Instead it takes  
a -debug option that prevents detachment.  kpasswdd doesn't take  
either option.  ipropd-* and kdc accept that option.

On Oct 11, 2007, at 5:27 AM, Andreas Haupt wrote:

> Hi,
>
> I've just reviewed some of our init scripts that start heimdal daemons
> (kdc, kadmind, ...). What I've found is that only the kdc daemon
> supports a command line option called --detach:
>
> --detach                      detach from console
>
> Would it be possible that all (ipropd-master, kpasswdd, ...) daemons
> support such an option? This would make it easier to write correct  
> init
> scripts at least for RedHat systems. Its "daemon" function doesn't  
> send
> started programs into background itself.
>
> Cheers,
> Andreas
>
> -- 
> | Andreas Haupt             | E-Mail: andreas.haupt@desy.de
> |  DESY Zeuthen             | WWW:    http://www-zeuthen.desy.de/ 
> ~ahaupt
> |  Platanenallee 6          | Phone:  +49/33762/7-7359
> |  D-15738 Zeuthen          | Fax:    +49/33762/7-7216

------------------------------------------------------------------------
The opinions expressed in this message are mine,
not those of Caltech, JPL, NASA, or the US Government.
Henry.B.Hotz@jpl.nasa.gov, or hbhotz@oxy.edu