chkconfig for Debian?
Today I had a question pop into my head: “what’s the equivalent for `chkconfig` on Debian?” As usual, a Google search revealed that I was not the only one: chkconfig for debian?.
update-rc.d is close to
chkconfig. I most commonly use `chkconfig - -list` on RH machines to look at the service settings, but there’s no equivalent update-rc.d argument. However, a look at the update-rc.d manpage reveals:
Please note that this program was designed for use in package maintainer scripts and, accordingly, has only the very limited functionality required by such scripts. System administrators are not encouraged to use update-rc.d to manage runlevels. They should edit the links directly or use runlevel editors such as sysv-rc-conf and bum instead.
I’ve used Boot Up Manager (BUM) on Ubuntu before and came away unimpressed, mostly because it was a clunky GTK thing. sysv-rc-conf is what I really want. It’s still not quite the same as chkconfig because chkconfig is text-based while sysv-rc-conf is ncurses-based, but it’s close enough.
Summary: want `chkconfig` for Debian? `apt-get install sysv-rc-conf`!