mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-25 20:15:25 +02:00
update-rc.d: add page (#1412)
This commit is contained in:
parent
13a86805d9
commit
04e9d13b70
1 changed files with 20 additions and 0 deletions
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`
|
Loading…
Add table
Reference in a new issue