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

runit: move pages

This commit is contained in:
Alexander Martin 2017-12-24 09:58:46 -05:00
parent 0a8a57a7f2
commit 8a56e3c24a
15 changed files with 118 additions and 0 deletions

11
pages/osx/runit.md Normal file
View file

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

11
pages/osx/runsv.md Normal file
View file

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

7
pages/osx/runsvchdir.md Normal file
View file

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

15
pages/osx/runsvdir.md Normal file
View file

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

15
pages/osx/sv.md Normal file
View file

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

11
pages/sunos/runit.md Normal file
View file

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

11
pages/sunos/runsv.md Normal file
View file

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

View file

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

15
pages/sunos/runsvdir.md Normal file
View file

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

15
pages/sunos/sv.md Normal file
View file

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