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