Line 0
Link Here
|
|
|
1 |
<?xml version="1.0"?> |
2 |
<guide self="tasks-reference/openrc-service-scripts/"> |
3 |
<chapter> |
4 |
<title>OpenRC Service Scripts</title> |
5 |
|
6 |
<body> |
7 |
|
8 |
<p> |
9 |
OpenRC service scripts should be installed using the <uri |
10 |
link="::function-reference/install-functions/"><c>doinitd</c> or |
11 |
<c>newinitd</c> functions</uri>, and their associated configuration |
12 |
files should be installed with either <uri |
13 |
link="::function-reference/install-functions/"><c>doconfd</c> or |
14 |
<c>newconfd</c></uri>. |
15 |
</p> |
16 |
|
17 |
<p> |
18 |
For writing and modifying OpenRC service scripts, the best source of |
19 |
information is the official OpenRC documentation. In particular, be |
20 |
sure to read the <c>openrc-run(8)</c> man page and the <uri |
21 |
link="https://github.com/OpenRC/openrc/blob/master/service-script-guide.md">OpenRC |
22 |
Service Script Guide</uri> that are installed along with the <uri |
23 |
link="https://packages.gentoo.org/packages/sys-apps/openrc">sys-apps/openrc</uri> |
24 |
package. |
25 |
</p> |
26 |
|
27 |
</body> |
28 |
</chapter> |
29 |
</guide> |