update-rc.d: add page (#1412)
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
13a86805d9
commit
04e9d13b70
20
pages/linux/update-rc.d.md
Normal file
20
pages/linux/update-rc.d.md
Normal file
@@ -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