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

Re: Policy Weekly Issue #4/13: Starting daemons in the postinst scripts



On Thu 23 Oct 1997, Christian Schwarz wrote:
> 
> Topic 13: Starting daemons in the postinst scripts

like my proposal to topic #12 :
if you want to query the admin, please recognize some special file or
variable "e.g. /etc/dpkg/fastconfig", do not start the daemon, and 
add a line to a log file, so the admin can see what might be necessary
to do.

i want to minimize user interaction, and i think this way isn't bad.

> Wouldn't it be good if every script in /etc/init.d would start with a
> shell
> variable that's set to 0 or 1, depending on whether the daemon should be
> started at boot up time or not? For example:

stop !
/etc/init.d/ script should only be modified if it is realy necessary,
not by default. there is an easy machanism to enable and disable
starting/stoping of daemons : update-rc.d 
we shall not have two systems (update-rc.d and this variable) for the
same purpose, as this will create double work to check if xxx is
running, and will create extra confusion.

andreas


Reply to: