aboutsummaryrefslogtreecommitdiff
blob: 4a4fba8e602812a551fda487f7d6b6fc74aeda0a (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 `Install Functions Reference`_). 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>