aboutsummaryrefslogtreecommitdiff
blob: e76670ca4735436c37a7193fcc797eb471623d30 (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="https://wiki.gentoo.org/wiki/Handbook:X86/Working/Initscripts#Writing_initscripts">
Writing Init Scripts section</uri>.
</p>

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