equal
deleted
inserted
replaced
|
1 |
|
2 ==================== |
|
3 OpenRC init system |
|
4 ==================== |
|
5 .. contents:: |
|
6 :local: |
|
7 |
|
8 Docs |
|
9 ==== |
|
10 |
|
11 https://github.com/OpenRC/openrc |
|
12 GihHub page. |
|
13 https://github.com/OpenRC/openrc/blob/master/service-script-guide.md |
|
14 OpenRC Service Script Writing Guide. |
|
15 https://github.com/OpenRC/openrc/blob/master/user-guide.md |
|
16 OpenRC Users Guide. |
|
17 https://github.com/OpenRC/openrc/blob/master/supervise-daemon-guide.md |
|
18 Using supervise-daemon. |
|
19 https://wiki.alpinelinux.org/wiki/Writing_Init_Scripts |
|
20 Writing Init Scripts. |
|
21 https://wiki.archlinux.org/index.php/OpenRC |
|
22 Arch Linux docs. |
|
23 https://wiki.gentoo.org/wiki/OpenRC |
|
24 Gentoo docs. |
|
25 https://wiki.gentoo.org/wiki/OpenRC_to_systemd_Cheatsheet |
|
26 OpenRC to systemd Cheatsheet. |
|
27 https://manpages.debian.org/testing/openrc/openrc-run.8.en.html |
|
28 Man page. |
|
29 |
|
30 Configuration |
|
31 ============= |
|
32 |
|
33 Run scripts reside in ``/etc/init.d`` directory. They are POSIX sh compilent scripts with shebang |
|
34 ``#!/sbin/openrc-run``. |
|
35 |
|
36 Before script interpretation corresponding file from ``/etc/conf.d`` is read. |
|
37 |
|
38 Common settings can be found in ``/etc/rc.conf``. |
|
39 |