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

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 @@
# 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}}`