aboutsummaryrefslogtreecommitdiff
blob: 51df865d0a6b27d478c1ce4bbf720ddc788e0be6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0"?>
<guide self="tasks-reference/init-scripts/">
<chapter>
<title>Init Scripts</title>

<body>

<p>
Init scripts should be installed into <c>/etc/init.d</c> using the <c>doinitd</c> or
<c>newinitd</c> functions (see <uri link="::function-reference/install-functions/"/>).
Any configuration (commandline parameters or environment variables) for these scripts
should be handled via entries in <c>/etc/conf.d</c> with the same filename <d />
<c>doconfd</c> or <c>newconfd</c> can be used to install these.
</p>

<p>
An overview of the Gentoo init system and how to write init scripts is available
in the <uri link="http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&amp;chap=4#doc_chap4">
Writing Init Scripts section</uri>.
</p>

</body>
</chapter>
</guide>