mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-13 06:59:19 +00:00
Update cheatsheets
This commit is contained in:
29
sv
Normal file
29
sv
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# sv
|
||||
|
||||
> Control a running runsv service.
|
||||
> More information: <https://manpages.ubuntu.com/manpages/latest/man8/sv.8.html>.
|
||||
|
||||
- Start a service:
|
||||
|
||||
`sudo sv up {{path/to/service}}`
|
||||
|
||||
- Stop a service:
|
||||
|
||||
`sudo sv down {{path/to/service}}`
|
||||
|
||||
- Get service status:
|
||||
|
||||
`sudo sv status {{path/to/service}}`
|
||||
|
||||
- Reload a service:
|
||||
|
||||
`sudo sv reload {{path/to/service}}`
|
||||
|
||||
- Start a service, but only if it's not running and don't restart it if it stops:
|
||||
|
||||
`sudo sv once {{path/to/service}}`
|
||||
Reference in New Issue
Block a user