Συντάκτης: Rowland Penny Ημερομηνία: Προς: dng Αντικείμενο: Re: [DNG] How to disable a service in sysvinit?
On Tue, 4 Jul 2017 16:39:03 -0400
Steve Litt <slitt@???> wrote:
> Hi all,
>
> 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.
>
> Thanks,
>
> SteveT
>
Hi Steve, I think you want 'update-rc.d -f <init-name> remove' where
<init-name> is name of the init.d script