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

Re: enabling/disabling daemons



On Mon, Sep 23, 2002 at 09:16:29PM -0400, Joey Hess wrote:
> Noah L. Meyerhans wrote:
> > When you install the ssh package, you are asked a debconf question "Do
> > you want to run the ssh server?".  If you say no, then a file
> > /etc/ssh/sshd_not_to_be_run is created.  The sshd init script checks for
> > the existance of this file and does not start sshd if it exists.
> > Postgresql also has this kind of functionality, but it's implemented
> > completely different.  
> 
> hmh has a point about invoke-rc.d making this unnecessary. Just want to
> point out that we also have a /etc/default/ directory in policy now that
> works similarly to the bsd one. While it's now sorta pointless to store
> "don't evert start" info in there, it's still useful for other init
> script configurations.

what should ssh do then in its postinst file? first, it asks whether or
not to start on boot, then what next?

--
gram

Attachment: pgp02p8xPJg1L.pgp
Description: PGP signature


Reply to: