From postmarketOS
Revision as of 11:57, 20 October 2020 by Jtagcat (talk | contribs) (Added hint about conf.d.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.