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

Re: Starting daemons in the postinst scripts



[I still need CC:s.  Thanks :-]

>i propose a slightly modified version :
>lets create a config file or so, where the sysadmin can say
>"new daemons should register in runlevels X Y Z".

That sounds excellent.  I've always been a bit wary about the
"install and start everything at once" approach taken by Debian.

>update-rc.d will read that config file, and do everything needed.
>this will also allow to say "don't register, i want to have manual
>control over daemons !".

OK.

What my code currently does is to check for the presence of a startup
file for the current runlevel, and then call it if it's present, AFTER
update-rc.d has been run.  This would do the right thing with your
suggestion, too.
-- 
Thomas Koenig, Thomas.Koenig@ciw.uni-karlsruhe.de, ig25@dkauni2.bitnet.
The joy of engineering is to find a straight line on a double
logarithmic diagram.


Reply to: