Appearance move to sidebar hide OpenRC
Original author(s)Roy Marples
Developer(s)OpenRC Developers
Initial release5 April 2007 (2007-04-05)
Stable release0.54 / 1 April 2024 (1 April 2024)
Written inC, Shell
Operating systemLinux, FreeBSD, NetBSD
Size~1550 KB
TypeInit daemon
License2-clause BSD license

OpenRC is a dependency-based init system for Unix-like computer operating systems. It was created by Roy Marples, a NetBSD developer who was also active in the Gentoo project. It became more broadly adopted as an init system outside of Gentoo following the decision by some Linux distributions not to adopt systemd.

OpenRC booting Artix Linux Booting process


OpenRC is the default init system and/or process supervisor for:

OpenRC is an available init system and/or process supervisor for:


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 sysvinit, but offer several features to simplify their creation. Scripts are assumed to have start(), stop() and status(); 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 /sbin/init. 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 runit and s6.



  1. ^ "Release 0.54". 1 April 2024. Retrieved 23 April 2024.
  2. ^ "openrc", Analysis Summary, Ohloh, retrieved 2012-03-10
  3. ^ "History". GitHub. Retrieved 6 April 2020.
  4. ^ "Developers". Retrieved 6 April 2020.
  5. ^ "Manjaro OpenRC 0.8.13 - reinventing init without systemd". DistroWatch Weekly, Issue 612. 1 June 2015. Retrieved 2020-04-04.
  6. ^ "5 Differences Between TrueOS & Linux". 23 February 2018. Retrieved 6 April 2020.
  7. ^ "Improving TrueOS: OpenRC". Retrieved 6 April 2020.
  8. ^ "Distro's forum - Which init system is Artix's default?". Retrieved 2023-10-30.
  9. ^ "Devuan ASCII 2.0.0 stable release". Retrieved 2021-01-18.
  10. ^ "user guide". GitHub. Retrieved 6 April 2020.
  11. ^ "service script guide". GitHub. Retrieved 6 April 2020.
  12. ^ "OpenRC/openrc-init". February 6, 2023. Retrieved October 7, 2023.
  13. ^ "runit guide". GitHub. Retrieved 6 April 2020.
  14. ^ "s6 Guide". GitHub. Retrieved 6 April 2020.
  15. ^ "CGroups Support". Retrieved 5 April 2020.