runit, runsv, runsvdir, runsvchdir, sv: add more information link and move to common/ (#5648)

This commit is contained in:
marchersimon
2021-03-31 12:52:31 +02:00
committed by GitHub
parent b02c9f5a25
commit d562842e08
22 changed files with 17 additions and 141 deletions

16
pages.zh/common/sv.md Normal file
View File

@@ -0,0 +1,16 @@
# sv
> 控制正在运行的服务.
> 更多信息: <https://manpages.ubuntu.com/manpages/latest/man8/sv.8.html>.
- 启动服务:
`sudo sv up {{目标目录 / 服务文件}}`
- 停止服务:
`sudo sv down {{目标目录 / 服务文件}}`
- 获取服务状态:
`sudo sv status {{目标目录 / 服务文件}}`