Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

runit

smarden.org

  • Free plan
  • Open source
  • macOS
  • Linux
  • Self-hosted
7.8 Club score Visit smarden.org

What runit is

runit is a Unix init scheme that supervises services and can replace sysvinit or work alongside an existing init scheme. As process 1, it manages boot, normal operation, and shutdown in three stages. Its runsv component starts a service and restarts it if it exits; sv reports status and provides controls to start, stop, restart, pause, or signal supervised services. For logs, svlogd can filter messages and write automatically rotated logs. The chpst utility changes process state and sets limits for resources such as memory, open files, process count, output size, core size, and CPU time. runsvdir monitors runsv processes for up to 1,000 service subdirectories. The maker provides source and installation instructions, including a manual installation option that does not require root access. runit is free, with support listed for GNU/Linux, BSD systems, MacOSX, Solaris, and other adaptable Unix systems. Its documentation cautions that UDP logging is unreliable and should be confined to private networks.

Who it suits

runit suits administrators who want to supervise Unix services and control their processes. It can also suit systems where service supervision is needed without replacing the current init scheme.

Good to know, and what to watch

  • Free, with no commercial limits stated.
  • Restarts a service when its run program exits.
  • Controls service status and lifecycle through sv.
  • Can monitor up to 1,000 service subdirectories.
  • Can be installed manually without root access.
  • UDP logging is unreliable outside private networks.
  • Installation requires compiling and installing from source.

runit

Free

Free plan

The verdict

runit combines init duties with service supervision, logging, and process controls across several Unix systems. Its UDP logging limitation is worth considering if logs would travel over an untrusted network.

What the maker publishes

Automatic discovery
A symlink from /service to a service directory makes runit discover and start that service, typically within five seconds. source
Boot lifecycle
As process 1, runit handles booting, normal operation and shutdown in three stages. source
Current upstream version
The official install page names version 2.3.1 as the downloadable release. source
Debian licence record
Debian records the upstream runit files as copyright Gerrit Pape and licensed BSD-3-Clause. source
Dependency handling
Many dependencies are handled because a dependent service exits until its prerequisite is available, after which runsv retries it. source
Distribution availability
The maker lists Debian, FreeBSD, OpenBSD, NetBSD, Ubuntu, Gentoo, Arch Linux, Void Linux and other distributions as including or packaging runit. source
Distribution packaging
Void Linux packages runit 2.3.1 with a GNU make build and BSD-3-Clause licence metadata. source
Documentation
The source distribution includes a doc directory and man directory, while the website links to manuals for each major command. source
Explicit dependencies
For services needing ordered startup or shutdown, administrators place sv commands in run and finish scripts. source
Foreground requirement
A supervised daemon must stay in the foreground, with the run script normally using exec to replace the shell. source
Independent adoption
Wikipedia lists Void Linux, antiX and Dragora as distributions using runit as their default init system. source
Independent alternatives
AlternativeTo lists runit as free and open source and shows more than ten alternatives including Dinit, OpenRC, systemd, sysvinit and s6. source
Independent architecture detail
Wikipedia says stage 2 launches runsvdir, which creates a watchdog per service and restarts daemons that die. source
Independent description
Wikipedia describes runit as a daemontools reimplementation that initializes, supervises and terminates Unix-like system processes. source
Installation
The maker provides a source archive and instructions to compile and install runit, including manual installation without root access. source
Installation method
The official installation downloads runit-2.3.1.tar.gz, compiles it and installs the programs with package/install. source
Licence
runit is free software under a three-clause BSD-like licence. source
Limit: migration risk
The replacement guide advises keeping an alternate boot method and restoring the former init if migration fails. source
Limit: portability work
Although stage 2 is portable, the maker says stages 1 and 3 must be adapted to each operating system. source
Limit: service authoring
Using runit requires administrators to create and maintain executable per-service scripts rather than conventional /etc/init.d scripts. source
Logging
svlogd reads log data, can filter messages and writes to automatically rotated logs. source
Logging
runsv can supervise a separate logging process and connect the service output to it without requiring both processes to restart together. source
Log transport limit
svlogd documentation warns that UDP logging is unreliable and should be used only in private networks. source
Maker identity
The official pages identify Gerrit Pape as the project contact and maintainer. source

Checked against the maker's pages on 15 Oct 2026.