tldr/pages/osx/sv.md

16 lines
211 B
Markdown
Raw Normal View History

2017-12-18 15:42:19 +00:00
# sv
> Control a running runsv service.
2017-12-18 16:01:16 +00:00
- Start a service:
2017-12-18 15:42:19 +00:00
2018-01-06 15:58:50 +00:00
`sudo sv up {{path/to/service}}`
2017-12-18 15:42:19 +00:00
2017-12-18 16:01:16 +00:00
- Stop a service:
2017-12-18 15:42:19 +00:00
2018-01-06 15:58:50 +00:00
`sudo sv down {{path/to/service}}`
2017-12-18 15:42:19 +00:00
2017-12-18 16:01:16 +00:00
- Get service status:
2017-12-18 15:42:19 +00:00
2018-01-06 15:58:50 +00:00
`sudo sv status {{path/to/service}}`