Sometimes, it is required to always make a service start during boot time. For example, in the previous chapter,
was installed to provide a graphical login service. This service was automatically added to be started during booting. Preventing
lightdm from starting during booting any longer can be accomplished using the
update-rc.d command. Passing the optional
-f flag forces removal, as shown here:
packt@PacktPublishing:~$ sudo update-rc.d -f lightdm remove update-rc.d: using dependency based boot sequencing
The graphical login manager will now no longer be started after a reboot using the preceding section to stop
lightdm immediately; a reboot is then not even needed.
Adding a service is ...