How To Install Runsvdir?

How To Install Runsvdir?

runsvdir

Run an entire directory of services.

Maintainer: Dmitry Bogatov



Section: admin

Install runsvdir

  • Debian apt-get install runit Click to copy
  • Ubuntu apt-get install runit Click to copy
  • Alpine OS apk add runit Click to copy
  • Kali Linux apt-get install runit Click to copy
  • Raspbian apt-get install runit Click to copy
  • macOS brew install runit Click to copy

Run an entire directory of services.

How to use runsvdir?

Below are few example commands for runsvdir that you can use in the terminal.

Start and manage all services in a directory as the current user:
runsvdir path/to/servicesClick to copy
Start and manage all services in a directory as root:
sudo runsvdir path/to/servicesClick to copy
Start services in separate sessions:
runsvdir -P path/to/servicesClick to copy
Install the latest version of runsvdir in Debian, Ubuntu, Alpine, Kali, Raspbian and macOS from terminal. To install the runsvdir just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of runsvdir from the respository and install it in your computer/server.