1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 16:26:04 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 17 additions and 141 deletions

View file

@ -1,6 +1,7 @@
# runit
> 三级初始化系统.
> 更多信息: <https://wiki.archlinux.org/index.php/Runit>.
- 启动 runit 的三阶段初始化方案:

View file

@ -1,6 +1,7 @@
# runsv
> 启动和管理 runit 服务.
> 更多信息: <https://manpages.ubuntu.com/manpages/latest/man8/runsv.8.html>.
- 以当前用户身份启动 runit 服务:

View file

@ -0,0 +1,8 @@
# runsvchdir
> 更改默认使用的 `runsvdir` 目录.
> 更多信息: <https://manpages.ubuntu.com/manpages/latest/man8/runsvchdir.8.html>.
- 切换 `runsvdir` 目录:
`sudo runsvchdir {{指定 / 目录}}`

View file

@ -1,6 +1,7 @@
# runsvdir
> 运行整个目录下的服务.
> 更多信息: <https://manpages.ubuntu.com/manpages/latest/man8/runsvdir.8.html>.
- 以当前用户身份启动和管理目录中的所有服务:

View file

@ -1,6 +1,7 @@
# sv
> 控制正在运行的服务.
> 更多信息: <https://manpages.ubuntu.com/manpages/latest/man8/sv.8.html>.
- 启动服务:

View file

@ -1,7 +0,0 @@
# runsvchdir
> 更改默认使用的 `runsvdir` 目录 .
- 切换 `runsvdir` 目录:
`sudo runsvchdir {{指定 / 目录}}`

View file

@ -1,15 +0,0 @@
# sv
> 控制正在运行的 runsv 服务.
- 启动服务:
`sudo sv up {{路径/服务}`
- 停止服务:
`sudo sv down {{路径/服务}}`
- 获取服务状态:
`sudo sv status {{路径/服务}}`

View file

@ -1,6 +1,7 @@
# runit
> 3-stage init system.
> More information: <https://wiki.archlinux.org/index.php/Runit>.
- Start runit's 3-stage init scheme:

View file

@ -1,6 +1,7 @@
# runsv
> Start and manage a runit service.
> More information: <https://manpages.ubuntu.com/manpages/latest/man8/runsv.8.html>.
- Start a runit service as the current user:

View file

@ -1,7 +1,7 @@
# runsvchdir
> Change the directory `runsvdir` uses by default.
> More information: <http://manpages.ubuntu.com/manpages/focal/man8/runsvchdir.8.html>.
> More information: <https://manpages.ubuntu.com/manpages/latest/man8/runsvchdir.8.html>.
- Switch `runsvdir` directories:

View file

@ -1,6 +1,7 @@
# runsvdir
> Run an entire directory of services.
> More information: <https://manpages.ubuntu.com/manpages/latest/man8/runsvdir.8.html>.
- Start and manage all services in a directory as the current user:

View file

@ -1,6 +1,7 @@
# sv
> Control a running runsv service.
> More information: <https://manpages.ubuntu.com/manpages/latest/man8/sv.8.html>.
- Start a service:

View file

@ -1,11 +0,0 @@
# runit
> 3-stage init system.
- Start runit's 3-stage init scheme:
`runit`
- Shut down runit:
`kill --CONT {{runit_pid}}`

View file

@ -1,15 +0,0 @@
# runsvdir
> Run an entire directory of services.
- Start and manage all services in a directory as the current user:
`runsvdir {{path/to/services}}`
- Start and manage all services in a directory as root:
`sudo runsvdir {{path/to/services}}`
- Start services in separate sessions:
`runsvdir -P {{path/to/services}}`

View file

@ -1,15 +0,0 @@
# sv
> Control a running runsv service.
- Start a service:
`sudo sv up {{path/to/service}}`
- Stop a service:
`sudo sv down {{path/to/service}}`
- Get service status:
`sudo sv status {{path/to/service}}`

View file

@ -1,11 +0,0 @@
# runit
> 3-stage init system.
- Start runit's 3-stage init scheme:
`runit`
- Shut down runit:
`kill --CONT {{runit_pid}}`

View file

@ -1,11 +0,0 @@
# runsv
> Start and manage a runit service.
- Start a runit service as the current user:
`runsv {{path/to/service}}`
- Start a runit service as root:
`sudo runsv {{path/to/service}}`

View file

@ -1,7 +0,0 @@
# runsvchdir
> Change the directory `runsvdir` uses by default.
- Switch `runsvdir` directories:
`sudo runsvchdir {{path/to/directory}}`

View file

@ -1,15 +0,0 @@
# sv
> Control a running runsv service.
- Start a service:
`sudo sv up {{path/to/service}}`
- Stop a service:
`sudo sv down {{path/to/service}}`
- Get service status:
`sudo sv status {{path/to/service}}`

View file

@ -1,11 +0,0 @@
# runsv
> Start and manage a runit service.
- Start a runit service as the current user:
`runsv {{path/to/service}}`
- Start a runit service as root:
`sudo runsv {{path/to/service}}`

View file

@ -1,7 +0,0 @@
# runsvchdir
> Change the directory `runsvdir` uses by default.
- Switch `runsvdir` directories:
`sudo runsvchdir {{path/to/directory}}`

View file

@ -1,15 +0,0 @@
# runsvdir
> Run an entire directory of services.
- Start and manage all services in a directory as the current user:
`runsvdir {{path/to/services}}`
- Start and manage all services in a directory as root:
`sudo runsvdir {{path/to/services}}`
- Start services in separate sessions:
`runsvdir -P {{path/to/services}}`