mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-01 15:51:29 +08:00
update-rc.d: add page (#1412)
This commit is contained in:
committed by
Starbeamrainbowlabs
parent
13a86805d9
commit
04e9d13b70
@@ -0,0 +1,20 @@
|
||||
# update-rc.d
|
||||
|
||||
> Install and remove services which are System-V style init script links.
|
||||
> Init scripts are in the /etc/init.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`
|
||||
Reference in New Issue
Block a user