How do I start applications when Debian boots?

update-rc.d is the utility that Debian provides to manage SystemV init scripts. To use this tool, see these examples:

  1. update-rc.d servicename defaults — This will enable 'servicename' to start on the default runlevels (2,3,4,5).

  2. update-rc.d servicename start 45 stop 01236 — This will enable 'servicename' to start on 45 but terminate on runlevels 0, 1, 2, 3, and 6.

  3. update-rc.d servicename remove — This command will remove 'servicename' from starting at all.