Product Code Database
Example Keywords: the legend -ipod $26
   » » Wiki: Openrc
Tag Wiki 'Openrc'.
Tag

OpenRC
 (

 C O N T E N T S 
Rank: 100%
Bluestar Bluestar Bluestar Bluestar Blackstar

OpenRC is a dependency-based system for computer . It was created by Roy Marples, a developer who was also active in the project.


Adoption
OpenRC is the default system or process supervisor for:

OpenRC is available as an system or process supervisor for:


Design
OpenRC is made up of several modular components, the main ones being an init (optional), the core dependency management system, and a daemon supervisor (optional). It is written in C and POSIX-compliant shell, making it usable on BSD and Linux systems.

The core part of OpenRC handles dependency management and init script parsing. OpenRC works by scanning the runlevels, building a dependency graph, then starting the needed service scripts. It exits once the scripts have been started. By default, OpenRC uses a modified version of start-stop-daemon for daemon management.

Init scripts share similarities with scripts used in , but offer several features to simplify their creation. Scripts are assumed to have , and ; and the system uses variables already declared to create the default functions. The depend function is used to declare dependencies to other services that would be done with LSB headers in sysvinit. Configuration and mechanism are separated with configuration files in the conf.d directory and init files in the init.d directory.

openrc-init first appeared in version 0.25 as an optional replacement for . This can replace Gentoo Linux's default init system, sysvinit.

Supervise-daemon first appeared in version 0.21 giving OpenRC supervision capabilities. It can be enabled in the init script for supervise-daemon to start and monitor a daemon. Several other daemon supervisors are supported, including and s6.


Features
  • Portable between , , and
  • Parallel service startup (off by default)
  • Dependency-based boot-up
  • Process segregation through
  • Per-service resource limits (ulimit)
  • Separation of code and configuration (init.d / conf.d)
  • Extensible startup scripts
  • Stateful init scripts ( has it started already?)
  • Complex init scripts to start multiple components (Samba smbd, NFS nfsd,)
  • Automatic dependency calculation and service ordering
  • Modular architecture and separation of optional components (, )
  • Expressive and flexible network handling (including VPN, bridges, etc.)
  • Verbose debug mode
  • User services

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
1s Time