Skip to content

Commit

Permalink
update-rc.d: add page (#1412)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsxu authored and sbrl committed Jul 5, 2017
1 parent 13a8680 commit 04e9d13
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pages/linux/update-rc.d.md
Original file line number Diff line number Diff line change
@@ -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`

0 comments on commit 04e9d13

Please sign in to comment.