On Tue, 2017-07-04 at 21:46 +0100, Rowland Penny wrote: > On Tue, 4 Jul 2017 16:39:03 -0400 > Steve Litt <[email protected]> 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.
> Hi Steve, I think you want 'update-rc.d -f <init-name> remove' where > <init-name> is name of the init.d script Alternately you can disable it, if not removing, with update-rc.d ssh disable see man update-rc.d about runlevels to disable/remove it from. HTH _______________________________________________ Dng mailing list [email protected] https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
