Skip to content
The OpenRC init system
C Shell Makefile Perl
Branch: master
Clone or download

Latest commit


Type Name Latest commit message Commit time
Failed to load latest commit information.
bash-completion bash-completions/rc-service: allow tab to be used again Dec 27, 2018
ci ci/ run shellcheck on shell scripts Oct 28, 2019
conf.d modules: remove the ability to rename modules on the fly Jun 29, 2018
etc standardize the default shell Dec 8, 2018
init.d init.d/agetty: provide the getty virtual service Jul 29, 2019
local.d local.d/README: typo fix Aug 15, 2016
man man/openrc-run.8: fix a typo Feb 5, 2020
mk combine test directories Feb 23, 2019
pkgconfig Revert "Make einfo routines private" Oct 21, 2013
runlevels optimize loops for installing gettys Aug 15, 2019
scripts scripts: fix halt, poweroff and reboot wrappers Dec 27, 2018
sh binfmt: ensure a file is ungegistered before registering Jan 11, 2020
src src/rc/rc-logger.h: fix build failure against gcc-10 Jan 19, 2020
support update sysvinit support files Aug 20, 2019
sysctl.d sysctl.d: fix README Feb 10, 2012
test move ci scripts to their own directory Feb 23, 2019
zsh-completion zsh-completion: _rc-service support extra actions Jan 21, 2019
.cirrus.yml move ci scripts to their own directory Feb 23, 2019
.gitignore dist: convert to tar.gz Sep 23, 2016
.travis.yml .travis.yml: install shellcheck Oct 28, 2019
AUTHORS Add Sony Interactive Entertainment as an author Jul 22, 2019 Reformat and fix titles in documentation Jan 12, 2018
ChangeLog Update ChangeLog Aug 20, 2019 Reformat and fix titles in documentation Jan 12, 2018 Reformat and fix titles in documentation Jan 12, 2018
LICENSE Convert OpenRC to a centralized copyright/license structure Dec 21, 2015
Makefile combine test directories Feb 23, 2019 version 0.42 Aug 20, 2019 Add documentation for openrc-init and update the NEWS file Aug 2, 2019 Fix typo in README Jan 11, 2020
README.newnet Remove gentoo's net.* scripts Aug 13, 2013 Reformat and fix titles in documentation Jan 12, 2018
TODO Add a potential future problem I can see with metric calculation and … Mar 2, 2012 Reformat and fix titles in documentation Jan 12, 2018 Reformat and fix titles in documentation Jan 12, 2018 Reformat and fix titles in documentation Jan 12, 2018 small cleanups Jun 5, 2018 clarify supervise-daemon-guide Jul 26, 2019 small cleanups Jun 5, 2018


OpenRC is a dependency-based init system that works with the system-provided init program, normally /sbin/init. Currently, it does not have an init program of its own.


OpenRC requires GNU make.

Once you have GNU Make installed, the default OpenRC installation can be executed using this command:

make install


You may wish to configure the installation by passing one or more of the below arguments to the make command

BRANDING=\"Gentoo/$(uname -s)\"


We don't support building a static OpenRC with PAM.

You may need to use PROGLDFLAGS=-Wl,-Bstatic on glibc instead of just -static.

If you are building OpenRC for a Gentoo Prefix installation, add MKPREFIX=yes.

PKG_PREFIX should be set to where packages install to by default.

LOCAL_PREFIX should be set to where user maintained packages are. Only set LOCAL_PREFIX if different from PKG_PREFIX.

PREFIX should be set when OpenRC is not installed to /.

If any of the following files exist then we do not overwrite them


rc and rc.shutdown are the hooks from the BSD init into OpenRC.

devd.conf is modified from FreeBSD to call /etc/rc.devd which is a generic hook into OpenRC.

inittab is the same, but for SysVInit as used by most Linux distributions. This can be found in the support folder.

Obviously, if you're installing this onto a system that does not use OpenRC by default then you may wish to backup the above listed files, remove them and then install so that the OS hooks into OpenRC.

Reporting Bugs

If you are using Gentoo Linux, bugs can be filed on their bugzilla under the gentoo hosted projects product and the openrc component [1]. Otherwise, you can report issues on our github [2].

Better yet, if you can contribute code, please feel free to submit pull requests [3].

IRC Channel

We have an official irc channel, #openrc on freenode, feel free to join us there.

[1] [2] [3]

You can’t perform that action at this time.