1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 00:42:08 +02:00

runit: make requested corrections

This commit is contained in:
Alexander Martin 2018-01-06 10:58:50 -05:00
parent 8a56e3c24a
commit b437d43127
12 changed files with 24 additions and 24 deletions

View file

@ -2,7 +2,7 @@
> Start and manage a runit service.
- Start a runit service as yourself:
- Start a runit service as the current user:
`runsv {{path/to/service}}`

View file

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

View file

@ -2,7 +2,7 @@
> 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}}`
@ -10,6 +10,6 @@
`sudo runsvdir {{path/to/services}}`
- Start services in seperate sessions:
- Start services in separate sessions:
`runsvdir -P {{path/to/services}}`

View file

@ -4,12 +4,12 @@
- Start a service:
`sv up {{path/to/service}}`
`sudo sv up {{path/to/service}}`
- Stop a service:
`sv down {{path/to/service}}`
`sudo sv down {{path/to/service}}`
- Get service status:
`sv status {{path/to/service}}`
`sudo sv status {{path/to/service}}`

View file

@ -2,7 +2,7 @@
> Start and manage a runit service.
- Start a runit service as yourself:
- Start a runit service as the current user:
`runsv {{path/to/service}}`

View file

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

View file

@ -2,7 +2,7 @@
> 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}}`
@ -10,6 +10,6 @@
`sudo runsvdir {{path/to/services}}`
- Start services in seperate sessions:
- Start services in separate sessions:
`runsvdir -P {{path/to/services}}`

View file

@ -4,12 +4,12 @@
- Start a service:
`sv up {{path/to/service}}`
`sudo sv up {{path/to/service}}`
- Stop a service:
`sv down {{path/to/service}}`
`sudo sv down {{path/to/service}}`
- Get service status:
`sv status {{path/to/service}}`
`sudo sv status {{path/to/service}}`

View file

@ -2,7 +2,7 @@
> Start and manage a runit service.
- Start a runit service as yourself:
- Start a runit service as the current user:
`runsv {{path/to/service}}`

View file

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

View file

@ -2,7 +2,7 @@
> 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}}`
@ -10,6 +10,6 @@
`sudo runsvdir {{path/to/services}}`
- Start services in seperate sessions:
- Start services in separate sessions:
`runsvdir -P {{path/to/services}}`

View file

@ -4,12 +4,12 @@
- Start a service:
`sv up {{path/to/service}}`
`sudo sv up {{path/to/service}}`
- Stop a service:
`sv down {{path/to/service}}`
`sudo sv down {{path/to/service}}`
- Get service status:
`sv status {{path/to/service}}`
`sudo sv status {{path/to/service}}`