tldr/pages/common/runsvdir.md

17 lines
412 B
Markdown
Raw Normal View History

2017-12-18 15:31:22 +00:00
# runsvdir
> Run an entire directory of services.
> More information: <https://manpages.ubuntu.com/manpages/latest/man8/runsvdir.8.html>.
2017-12-18 15:31:22 +00:00
2018-01-06 15:58:50 +00:00
- Start and manage all services in a directory as the current user:
2017-12-18 15:31:22 +00:00
`runsvdir {{path/to/services}}`
2017-12-18 16:03:28 +00:00
- Start and manage all services in a directory as root:
2017-12-18 15:31:22 +00:00
`sudo runsvdir {{path/to/services}}`
2018-01-06 15:58:50 +00:00
- Start services in separate sessions:
2017-12-18 15:31:22 +00:00
`runsvdir -P {{path/to/services}}`