How-To: Managing services with update-rc.d | Debian/Ubuntu Tips & Tricks
Linux services can be started, stopped and reloaded with the use of scripts stocked inĀ /etc/init.d/. However, during start up or when changing runlevel, those scripts are searched in /etc/rcX.d/ where X is the runlevel number.