aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tasks-reference/init-scripts/text.xml')
-rw-r--r--tasks-reference/init-scripts/text.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/tasks-reference/init-scripts/text.xml b/tasks-reference/init-scripts/text.xml
new file mode 100644
index 0000000..4a4fba8
--- /dev/null
+++ b/tasks-reference/init-scripts/text.xml
@@ -0,0 +1,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>