Product Code Database
Example Keywords: second life -kindle $92
   » » Wiki: Runit
Tag Wiki 'Runit'.
Tag

runit is an init and service management scheme for that initializes, supervises, and ends processes throughout the operating system. Runit is a reimplementation of the process supervision toolkit that runs on many -based operating systems, as well as BSD, and operating systems. Runit features parallelization of the start up of system services, which can speed up the boot time of the operating system.

When running as an daemon, Runit is the direct or indirect of all other processes. It is the first process started during , and continues running until the system is shut down. It is often used with other init systems as a separate service manager. In the service manager role, it can be used by unprivileged users to orchestrate personal services, as well as by to manage services not otherwise managed by the init system currently in use. ]]


Design
Runit focuses on being a small, modular, and portable . In the init role, Runit is split into three stages: one time initialization, process supervision, and halting or rebooting. While the first and third stages must be adapted to the specific operating system they are running on, the second stage is portable across all compliant operating systems. The 3 stages can be configured through 3 executable files (they are usually shell scripts) named, respectively, 1, 2, and 3.

Stage 2 usually invokes a binary named runsvdir, which is the process responsible for global daemon management: for every daemon it finds in a folder passed to it by argument, it then spawns an individual , each of those starts a daemon (and a logger service eventually associated to it) and restarts it if it dies. In case a daemon is added or removed, it kills the watchdog or starts a new one. files with specific names are used to describe the various phases of the daemon's life (run, check, finish, ...), it can intercept signals sent and run by specific scripts if they exist, and are created to expose interfaces to control the daemon.


Usage
Runit can be used either as a drop-in replacement for , or as a service supervisor (with sysvinit as the parent PID 1 process which runs processes specified by the inittab file, or some other init system). The RubyWorks stack of software able to run Ruby on Rails incorporated Runit into its suite.


Adoption
Runit is the default init system of:

Runit is an "officially" available init system for:


External links

Page 1 of 1
1
Page 1 of 1
1

Account

Social:
Pages:  ..   .. 
Items:  .. 

Navigation

General: Atom Feed Atom Feed  .. 
Help:  ..   .. 
Category:  ..   .. 
Media:  ..   .. 
Posts:  ..   ..   .. 

Statistics

Page:  .. 
Summary:  .. 
1 Tags
10/10 Page Rank
5 Page Refs