Ubuntu – differences between chkconfig vs insserv

services

I know chkconfig we are not using currently to manager services in Ubuntu but even its a old tool, its a good tool. but recently I've gone through insserv .

All I want to know is what are the main difference between insserv and chkconfig tools.

Thank you.

Best Answer

chkconfig is just a wrapper and insserv is the actual command.

From the man page of chkconfig:

DESCRIPTION

chkconfig is used to manipulate the runlevel links at boot time (see init.d(7)). It can be thought of as a frontend to insserv(8). Chkconfig can run in six different modes: terse list mode, set mode, edit mode, list mode, add mode and delete mode. The last three modes were added for compatiblity reasons.