tldr/pages/linux/sv.md

16 lines
211 B
Markdown
Raw Normal View History

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