2017-12-18 15:42:19 +00:00
|
|
|
# sv
|
|
|
|
|
|
|
|
> Control a running runsv service.
|
2021-03-31 11:52:31 +01:00
|
|
|
> More information: <https://manpages.ubuntu.com/manpages/latest/man8/sv.8.html>.
|
2017-12-18 15:42:19 +00:00
|
|
|
|
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}}`
|