Difference between revisions of "Openrc"

From ArchWiki
Jump to: navigation, search
(created page)
 
(added configuration)
Line 1: Line 1:
 
[[Category:Boot process]]
 
[[Category:Boot process]]
{{Note|Arch uses [[systemd]] by default. No support will be provided for any problems resulting from the use of OpenRC.}}
+
{{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}}.
 
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}}.
Line 9: Line 9:
  
 
The packages will be installed under {{Ic|/etc/openrc}} instead of the default location of {{Ic|/etc}}, so that users can switch to [[initscripts]] when desired.
 
The packages will be installed under {{Ic|/etc/openrc}} instead of the default location of {{Ic|/etc}}, so that users can switch to [[initscripts]] when desired.
 +
 +
== Configuration ==
 +
 +
For booting with OpenRC add {{Ic|1=init=/sbin/init-openrc}} to the kernel line of your bootloader.
 +
 +
For detailed instructions on configuring OpenRC, visit the [http://www.gentoo.org/doc/en/openrc-migration.xml gentoo guide].

Revision as of 07:51, 14 November 2012

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 /sbin/init. It is not a replacement for /sbin/init.

Installation

OpenRC is available in the AUR. You can choose to install either openrcAUR or openrc-gitAUR package. You will also need to install openrc-arch-services-gitAUR (provides service files for use with openrc on arch) and openrc-sysvinitAUR.

The packages will be installed under /etc/openrc instead of the default location of /etc, so that users can switch to initscripts when desired.

Configuration

For booting with OpenRC add init=/sbin/init-openrc to the kernel line of your bootloader.

For detailed instructions on configuring OpenRC, visit the gentoo guide.