Projects / runit

runit

runit is a cross-platform Unix init scheme with service supervision; a replacement for sysvinit and other init schemes. It runs on GNU/Linux, *BSD, Mac OS X, and Solaris, and can easily be adapted to other Unix operating systems. runit implements a simple three-stage concept. Stage 1 performs the system's one-time initialization tasks. Stage 2 starts the system's uptime services (via the runsvdir program). Stage 3 handles the tasks necessary to shutdown and halt or reboot.

Tags
Licenses
Operating Systems

Recent releases

  •  07 Oct 2009 08:26

    Release Notes: For services that are taken up through the 'once' command, 'sv down' now properly instructs runsv to send the service daemon the TERM and CONT signals. Additionally, the selftests in the build process have been fixed.

    •  30 Sep 2009 11:47

      Release Notes: The chpst program learned a new option -b to run a program with a different name as the 0th argument, and some reported bugs have been fixed.

      •  25 Jun 2008 11:36

        Release Notes: The documentation has been updated slightly since the latest test package. There were no changes to the runit source code. This is the second stable release of runit.

        •  15 May 2008 13:17

          Release Notes: The default directory for services is now /service/, and no longer /var/service/. When installing runit on a system that should comply with the Filesystem Hierarchy Standard (FHS), neither /service/ nor /var/service/ should be chosen, but /etc/service/. It is recommended to create a compatibility symlink /service pointing to /etc/service in this case. This version additionally fixes the runsv program to properly handle service directories with ./log being a symlink to a directory on a different device, and slightly updates the sv program and the documentation.

          •  24 Sep 2007 17:32

            Release Notes: The runit program, process number 1, has been fixed to reap dead processes that re-parented to process number 1 (zombies) more thoroughly. Instructions on how to use runit with upstart as an init scheme have been added, svlogd has been changed to use a new source port for each log message sent through UDP, and this release includes a build fix for AIX.

            Recent comments

            31 Mar 2004 15:37 cduffy

            Who needs sliced bread?
            Once, long ago, I poked at daemontools -- and saw that it was good, but the licensing was quite unworkable.

            runit, while similar to daemontools, makes the occasional well-thought-out improvement here and there -- and unlike at least one other daemontools-inspired toolkit, is robust, stable and well-documented. Bravo!

            FWIW, I maintain a runit RPM for my employer's use, and would be glad to share this should anyone be interested.

            Thanks!

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.