mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 09:02:08 +02:00
runit: make requested corrections
This commit is contained in:
parent
8a56e3c24a
commit
b437d43127
12 changed files with 24 additions and 24 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
> Start and manage a runit service.
|
> Start and manage a runit service.
|
||||||
|
|
||||||
- Start a runit service as yourself:
|
- Start a runit service as the current user:
|
||||||
|
|
||||||
`runsv {{path/to/service}}`
|
`runsv {{path/to/service}}`
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# runsvchdir
|
# runsvchdir
|
||||||
|
|
||||||
> Change the directory runsvdir uses by default.
|
> Change the directory `runsvdir` uses by default.
|
||||||
|
|
||||||
- Switch runsvdir directories:
|
- Switch `runsvdir` directories:
|
||||||
|
|
||||||
`sudo runsvchdir {{/path/to/directory}}`
|
`sudo runsvchdir {{/path/to/directory}}`
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
> Run an entire directory of services.
|
> Run an entire directory of services.
|
||||||
|
|
||||||
- Start and manage all services in a directory as yourself:
|
- Start and manage all services in a directory as the current user:
|
||||||
|
|
||||||
`runsvdir {{path/to/services}}`
|
`runsvdir {{path/to/services}}`
|
||||||
|
|
||||||
|
@ -10,6 +10,6 @@
|
||||||
|
|
||||||
`sudo runsvdir {{path/to/services}}`
|
`sudo runsvdir {{path/to/services}}`
|
||||||
|
|
||||||
- Start services in seperate sessions:
|
- Start services in separate sessions:
|
||||||
|
|
||||||
`runsvdir -P {{path/to/services}}`
|
`runsvdir -P {{path/to/services}}`
|
||||||
|
|
|
@ -4,12 +4,12 @@
|
||||||
|
|
||||||
- Start a service:
|
- Start a service:
|
||||||
|
|
||||||
`sv up {{path/to/service}}`
|
`sudo sv up {{path/to/service}}`
|
||||||
|
|
||||||
- Stop a service:
|
- Stop a service:
|
||||||
|
|
||||||
`sv down {{path/to/service}}`
|
`sudo sv down {{path/to/service}}`
|
||||||
|
|
||||||
- Get service status:
|
- Get service status:
|
||||||
|
|
||||||
`sv status {{path/to/service}}`
|
`sudo sv status {{path/to/service}}`
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
> Start and manage a runit service.
|
> Start and manage a runit service.
|
||||||
|
|
||||||
- Start a runit service as yourself:
|
- Start a runit service as the current user:
|
||||||
|
|
||||||
`runsv {{path/to/service}}`
|
`runsv {{path/to/service}}`
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# runsvchdir
|
# runsvchdir
|
||||||
|
|
||||||
> Change the directory runsvdir uses by default.
|
> Change the directory `runsvdir` uses by default.
|
||||||
|
|
||||||
- Switch runsvdir directories:
|
- Switch `runsvdir` directories:
|
||||||
|
|
||||||
`sudo runsvchdir {{/path/to/directory}}`
|
`sudo runsvchdir {{/path/to/directory}}`
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
> Run an entire directory of services.
|
> Run an entire directory of services.
|
||||||
|
|
||||||
- Start and manage all services in a directory as yourself:
|
- Start and manage all services in a directory as the current user:
|
||||||
|
|
||||||
`runsvdir {{path/to/services}}`
|
`runsvdir {{path/to/services}}`
|
||||||
|
|
||||||
|
@ -10,6 +10,6 @@
|
||||||
|
|
||||||
`sudo runsvdir {{path/to/services}}`
|
`sudo runsvdir {{path/to/services}}`
|
||||||
|
|
||||||
- Start services in seperate sessions:
|
- Start services in separate sessions:
|
||||||
|
|
||||||
`runsvdir -P {{path/to/services}}`
|
`runsvdir -P {{path/to/services}}`
|
||||||
|
|
|
@ -4,12 +4,12 @@
|
||||||
|
|
||||||
- Start a service:
|
- Start a service:
|
||||||
|
|
||||||
`sv up {{path/to/service}}`
|
`sudo sv up {{path/to/service}}`
|
||||||
|
|
||||||
- Stop a service:
|
- Stop a service:
|
||||||
|
|
||||||
`sv down {{path/to/service}}`
|
`sudo sv down {{path/to/service}}`
|
||||||
|
|
||||||
- Get service status:
|
- Get service status:
|
||||||
|
|
||||||
`sv status {{path/to/service}}`
|
`sudo sv status {{path/to/service}}`
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
> Start and manage a runit service.
|
> Start and manage a runit service.
|
||||||
|
|
||||||
- Start a runit service as yourself:
|
- Start a runit service as the current user:
|
||||||
|
|
||||||
`runsv {{path/to/service}}`
|
`runsv {{path/to/service}}`
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# runsvchdir
|
# runsvchdir
|
||||||
|
|
||||||
> Change the directory runsvdir uses by default.
|
> Change the directory `runsvdir` uses by default.
|
||||||
|
|
||||||
- Switch runsvdir directories:
|
- Switch `runsvdir` directories:
|
||||||
|
|
||||||
`sudo runsvchdir {{/path/to/directory}}`
|
`sudo runsvchdir {{/path/to/directory}}`
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
> Run an entire directory of services.
|
> Run an entire directory of services.
|
||||||
|
|
||||||
- Start and manage all services in a directory as yourself:
|
- Start and manage all services in a directory as the current user:
|
||||||
|
|
||||||
`runsvdir {{path/to/services}}`
|
`runsvdir {{path/to/services}}`
|
||||||
|
|
||||||
|
@ -10,6 +10,6 @@
|
||||||
|
|
||||||
`sudo runsvdir {{path/to/services}}`
|
`sudo runsvdir {{path/to/services}}`
|
||||||
|
|
||||||
- Start services in seperate sessions:
|
- Start services in separate sessions:
|
||||||
|
|
||||||
`runsvdir -P {{path/to/services}}`
|
`runsvdir -P {{path/to/services}}`
|
||||||
|
|
|
@ -4,12 +4,12 @@
|
||||||
|
|
||||||
- Start a service:
|
- Start a service:
|
||||||
|
|
||||||
`sv up {{path/to/service}}`
|
`sudo sv up {{path/to/service}}`
|
||||||
|
|
||||||
- Stop a service:
|
- Stop a service:
|
||||||
|
|
||||||
`sv down {{path/to/service}}`
|
`sudo sv down {{path/to/service}}`
|
||||||
|
|
||||||
- Get service status:
|
- Get service status:
|
||||||
|
|
||||||
`sv status {{path/to/service}}`
|
`sudo sv status {{path/to/service}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue