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