:: Re: [DNG] How to disable a service …
Página Inicial
Delete this message
Reply to this message
Autor: richard lucassen
Data:  
Para: dng
Assunto: Re: [DNG] How to disable a service in sysvinit?
On Tue, 4 Jul 2017 16:39:03 -0400
Steve Litt <slitt@???> wrote:

> What's the official way to disable a service in sysvinit? In this case
> I want to disable sshd so I can put it in runit.
>
> I know I could rename /etc/rc5.d/S02sshd to zS02sshd, but I seem to
> remember there's some more official way to do it.


Maybe sysv-rc-conf is a nice tool for this:

apt-get install sysv-rc-conf

R.

--
richard lucassen
http://contact.xaq.nl/