tldr/pages/linux/runsvdir.md

16 lines
324 B
Markdown
Raw Normal View History

2017-12-18 15:31:22 +00:00
# runsvdir
> Run an entire directory of services.
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}}`