Ubuntu environment add Delete startup service command: Add a service: sudoupdate-rc.dServiceNamedefaults delete a service: sudoupdate-rc.dServiceNameremove for example delete a startup service, take cpus (: 631) Print Service as an example, if it is logged on as root, you can ignore sudoroot @ Linuxidc:/# update-rc.dcup
Run the following command to add or delete a startup service in Ubuntu:
Add a service:
Sudo update-rc.d ServiceName defaults
Delete A service:
Sudo update-rc.d ServiceName remove
For example, to delete a startup service, take the cpus (: 631) printing service as an example. If it is logged on as root, you can ignore sudo.
Root @ Linuxidc:/# update-rc.d cupsd remove
Removing any system startup links for/etc/init. d/cupsd...
Well, the cupsd service will not be started again when it is started. The service name is cups.