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

Re: enabling/disabling daemons



On Fri, Sep 27, 2002 at 03:19:28PM +0200, Andreas Metzler wrote:
> On Fri, Sep 27, 2002 at 07:35:47AM -0500, Graham Wilson wrote:
> > what should ssh do then in its postinst file? first, it asks whether or
> > not to start on boot, then what next?
> 
> Good question, fresh installation is easy: Call
>   "update-rc.d ssh stop 20 0 1 2 3 4 5 6 ." or
>   "update-rc.d ssh defaults", depending on the answer.
> Upgrading OTOH is difficult because
>   update-rc.d -f ssh remove
>   update-rc.d -f ssh stop 20 0 1 2 3 4 5 6 .
> is probably verboten.

what should the user do if he wants to change it after installation?

> You have to additionally get rid of all direct invocations of
> /etc/init.d/ssh in the maintainerscripts, too. 

and replace them with invoke-rc.d, right?

--
gram

Attachment: pgpyRWXITp_0w.pgp
Description: PGP signature


Reply to: