Difference between revisions of "Openrc"

From ArchWiki
Jump to navigation Jump to search
(migrated the work to OpenRC, and added a redirect to that page)
(5 intermediate revisions by 2 users not shown)
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}}.
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 init=/bin/systemd.
For detailed instructions on configuring OpenRC, read the man pages, visit the [http://www.gentoo.org/doc/en/openrc-migration.xml gentoo guide] and the [http://wiki.gentoo.or/wiki/OpenRC gentoo wiki].
It is worth noting that the udev service is not enabled by default. In order to enable it:
#rc-update add udev default

Latest revision as of 05:07, 15 November 2012

Redirect to: