openrc.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 19 Dec 2018 14:07:30 +0200
changeset 2307 08aa10b9c7ff
parent 2304 a2b7bf3976b5
permissions -rw-r--r--
Add timestamp to Vagrant log.


====================
 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``.