Difference between revisions of "OpenRC"

From postmarketOS
Jump to navigation Jump to search
(Added better links to Gentoo for writing init scripts)
(added a directory where the scripts are)
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

Revision as of 21:50, 19 January 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