mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 00:41:42 +00:00
22 lines
505 B
Plaintext
22 lines
505 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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:
|
|
|
|
`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}}`
|