tldr/pages/linux/runsvdir.md

16 lines
324 B
Markdown
Raw Normal View History

2017-12-18 18:31:22 +03:00
# runsvdir
> Run an entire directory of services.
2018-01-06 18:58:50 +03:00
- Start and manage all services in a directory as the current user:
2017-12-18 18:31:22 +03:00
`runsvdir {{path/to/services}}`
2017-12-18 19:03:28 +03:00
- Start and manage all services in a directory as root:
2017-12-18 18:31:22 +03:00
`sudo runsvdir {{path/to/services}}`
2018-01-06 18:58:50 +03:00
- Start services in separate sessions:
2017-12-18 18:31:22 +03:00
`runsvdir -P {{path/to/services}}`