# HG changeset patch # User Oleksandr Gavenko # Date 1545131169 -7200 # Node ID a2b7bf3976b56d136f3f4e80c8bc6cf5d9beef9e # Parent 23c1b1aa375ee1cfc004437f532f6ceb73046682 OpenRC. diff -r 23c1b1aa375e -r a2b7bf3976b5 openrc.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openrc.rst Tue Dec 18 13:06:09 2018 +0200 @@ -0,0 +1,39 @@ + +==================== + OpenRC init system +==================== +.. contents:: + :local: + +Docs +==== + +https://github.com/OpenRC/openrc + GihHub page. +https://github.com/OpenRC/openrc/blob/master/service-script-guide.md + OpenRC Service Script Writing Guide. +https://github.com/OpenRC/openrc/blob/master/user-guide.md + OpenRC Users Guide. +https://github.com/OpenRC/openrc/blob/master/supervise-daemon-guide.md + Using supervise-daemon. +https://wiki.alpinelinux.org/wiki/Writing_Init_Scripts + Writing Init Scripts. +https://wiki.archlinux.org/index.php/OpenRC + Arch Linux docs. +https://wiki.gentoo.org/wiki/OpenRC + Gentoo docs. +https://wiki.gentoo.org/wiki/OpenRC_to_systemd_Cheatsheet + OpenRC to systemd Cheatsheet. +https://manpages.debian.org/testing/openrc/openrc-run.8.en.html + Man page. + +Configuration +============= + +Run scripts reside in ``/etc/init.d`` directory. They are POSIX sh compilent scripts with shebang +``#!/sbin/openrc-run``. + +Before script interpretation corresponding file from ``/etc/conf.d`` is read. + +Common settings can be found in ``/etc/rc.conf``. +