World Library  
Flag as Inappropriate
Email this Article

Runit

Article Id: WHEBN0024614627
Reproduction Date:

Title: Runit  
Author: World Heritage Encyclopedia
Language: English
Subject: Process supervision, SystemStarter, Monit, OpenRC, Service Management Facility
Collection: Unix Process and Task Management-Related Software
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Runit

runit
Original author(s) Gerrit Pape
Initial release February 10, 2004 (2004-02-10)[1]
Stable release 2.1.2 / August 10, 2014 (2014-08-10)[2]
Development status Active
Written in C, Shell
Operating system Linux, BSD, Mac OS X, Solaris
Type Init daemon
License New BSD License

runit is an init scheme for Unix-like operating systems that initializes, supervises, and ends processes throughout the operating system. Runit is a "reimplementation" of the "seminal" daemontools[3] process supervision toolkit that runs on the Linux, Mac OS X, *BSD, and Solaris operating systems. Runit features parallelization of the start up of system services, which can speed up the boot time of the operating system.[4]

Runit is an init daemon, so it is the direct or indirect ancestor of all other processes. It is the first process started during booting, and continues running until the system is shut down.

The RubyWorks stack of software required to run Ruby on Rails incorporated Runit into its suite.[5]

Contents

  • Design 1
  • Usage 2
  • References 3
  • External links 4

Design

Runit focuses on being a small, modular, and portable codebase. 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 POSIX compliant operating systems.[6]

Usage

Runit can be used either as a drop-in replacement[7] for sysvinit, or as a service supervisor with sysvinit as the parent PID1 process ran from inittab.[8]

References

  1. ^ Pape, Gerrit (2004-02-10). "runit-1.0.0 release". gmane.comp.sysutils.supervision.general mailing list. http://permalink.gmane.org/gmane.comp.sysutils.supervision.general/308. Retrieved 2013-12-10.
  2. ^ Pape, Gerrit (2009-10-04). "runit - installation". smarden.org. Retrieved 2014-08-10. 
  3. ^ Purcell, Steve (2007-11-11). "Init Scripts Considered Harmful". sanityinc.com. Retrieved 12 December 2013. 
  4. ^ Pape, Gerrit. "runit - benefits". Retrieved 23 April 2013. 
  5. ^ "Process management with runit". rubyworks.rubyforge.org. Retrieved 14 April 2014. 
  6. ^ Pape, Gerrit. "runit - benefits". Retrieved 23 April 2013. 
  7. ^ Pape, Gerrit. "replacing init". Retrieved 11 August 2014. 
  8. ^ Pape, Gerrit. "use with traditional init". Retrieved 11 August 2014. 

External links

  • runit


This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.