HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

update-rc.d — Install and remove services which are System-V style init script links. Init scripts are in the `/et

Submitted by: @import:tldr-pages··
0
Viewed 0 times
update-rc.dcommandremoveservicesandinstallcliwhich
linux

Problem

How to use the update-rc.d command: Install and remove services which are System-V style init script links. Init scripts are in the /etc/init.d/. More information: <https://manned.org/update-rc.d>.

Solution

update-rc.d — Install and remove services which are System-V style init script links. Init scripts are in the /etc/init.d/. More information: <https://manned.org/update-rc.d>.

Install a service:
update-rc.d {{mysql}} defaults


Enable a service:
update-rc.d {{mysql}} enable


Disable a service:
update-rc.d {{mysql}} disable


Forcibly remove a service:
update-rc.d -f {{mysql}} remove

Code Snippets

Install a service

update-rc.d {{mysql}} defaults

Enable a service

update-rc.d {{mysql}} enable

Disable a service

update-rc.d {{mysql}} disable

Forcibly remove a service

update-rc.d -f {{mysql}} remove

Context

tldr-pages: linux/update-rc.d

Revisions (0)

No revisions yet.