mirror of https://github.com/CrimsonTome/tldr.git
16 lines
202 B
Markdown
16 lines
202 B
Markdown
|
# sv
|
||
|
|
||
|
> 控制正在运行的 runsv 服务.
|
||
|
|
||
|
- 启动服务:
|
||
|
|
||
|
`sudo sv up {{路径/服务}`
|
||
|
|
||
|
- 停止服务:
|
||
|
|
||
|
`sudo sv down {{路径/服务}}`
|
||
|
|
||
|
- 获取服务状态:
|
||
|
|
||
|
`sudo sv status {{路径/服务}}`
|