Files
cheatsheet-tldr/tldr/sv
2025-12-01 00:25:28 +00:00

30 lines
527 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# sv
> Control a running runsv service.
> More information: <https://manned.org/sv>.
- 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}}`