Difference between revisions of "OpenRC"

From postmarketOS
Jump to navigation Jump to search
(Added better links to Gentoo for writing init scripts)
(Added hint about conf.d.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
OpenRC is a dependency-based init system that maintains compatibility with the system provided init program, normally located in /sbin/init. It does not function as a replacement for the /sbin/init file. It is the default system in postmarketOS, and documentation can be found on the [https://wiki.gentoo.org/wiki/OpenRC Gentoo wiki]. For information related to handwriting an init script, check out Gentoos guide to [https://wiki.gentoo.org/wiki/Handbook:AMD64/Working/Initscripts#Writing_initscripts writing init scripts]
+
OpenRC is a dependency-based init system that maintains compatibility with the system provided init program, normally located in /sbin/init. It does not function as a replacement for the /sbin/init file.
 +
 
 +
It is the default system in postmarketOS, and documentation can be found on the [https://wiki.gentoo.org/wiki/OpenRC Gentoo wiki]. For information related to handwriting an init script, check out Gentoos guide to [https://wiki.gentoo.org/wiki/Handbook:AMD64/Working/Initscripts initscripts]
 +
 
 +
Init scripts are stored in <code>/etc/init.d/</code> but it is generally recommended you do not write them by hand. User-configurable options are stored in <code>/etc/conf.d</code>.

Latest revision as of 11:57, 20 October 2020

OpenRC is a dependency-based init system that maintains compatibility with the system provided init program, normally located in /sbin/init. It does not function as a replacement for the /sbin/init file.

It is the default system in postmarketOS, and documentation can be found on the Gentoo wiki. For information related to handwriting an init script, check out Gentoos guide to initscripts

Init scripts are stored in /etc/init.d/ but it is generally recommended you do not write them by hand. User-configurable options are stored in /etc/conf.d.