Difference between revisions of "Openrc"

From ArchWiki
Jump to: navigation, search
(migrated the work to OpenRC, and added a redirect to that page)
Line 1: Line 1:
[[Category:Boot process]]
{{Note|Arch uses [[systemd]] by default. If you use openrc, please mention so while asking for help.}}
OpenRC is an alternate init system developed by Gentoo developers. OpenRC is a dependency based init system that works with the system provided init program, normally {{Ic|/sbin/init}}. It is not a replacement for {{Ic|/sbin/init}}.
== Installation ==
OpenRC is available in the [[AUR]]. You can choose to install either {{AUR|openrc}} or {{AUR|openrc-git}} package. You will also need to install {{AUR|openrc-arch-services-git}} (provides service files for use with openrc on arch) and {{AUR|openrc-sysvinit}} (a slightly patched version of traditional sysvinit).
The packages will be installed under {{Ic|/etc/openrc}} instead of the default location of {{Ic|/etc}}, so that users can switch to [[initscripts]] or [[systemd]] when desired.
== Configuration ==
For booting with OpenRC add {{Ic|1=init=/sbin/init-openrc}} to the kernel line in your bootloader configuration. If you want to go back to systemd replace it with {{ic|1=init=/usr/lib/systemd/systemd}}.
For detailed instructions on configuring OpenRC, read the [http://www.calculate-linux.org/main/en/openrc_manuals man pages], visit the [http://www.gentoo.org/doc/en/openrc-migration.xml gentoo guide] and the [http://wiki.gentoo.org/wiki/OpenRC gentoo wiki].
It is worth noting that the udev service is not enabled by default. In order to enable it, do:
# rc-update add udev default
== Links ==
[http://en.wikipedia.org/wiki/OpenRC OpenRC wikipedia entry]
[https://bbs.archlinux.org/viewtopic.php?id=152606 Forum thread about OpenRC in Arch]

Latest revision as of 05:07, 15 November 2012

Redirect to: