1 |
swift 13/08/01 19:41:44 |
2 |
|
3 |
Modified: hb-working-rcscripts.xml |
4 |
Log: |
5 |
Fix bug #475924 - pause for initscripts no longer recommended, use --nodeps stop instead. thanks to Thomas D. for reporting. |
6 |
|
7 |
Revision Changes Path |
8 |
1.39 xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?rev=1.39&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?rev=1.39&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?r1=1.38&r2=1.39 |
13 |
|
14 |
Index: hb-working-rcscripts.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v |
17 |
retrieving revision 1.38 |
18 |
retrieving revision 1.39 |
19 |
diff -u -r1.38 -r1.39 |
20 |
--- hb-working-rcscripts.xml 31 Oct 2012 19:02:20 -0000 1.38 |
21 |
+++ hb-working-rcscripts.xml 1 Aug 2013 19:41:44 -0000 1.39 |
22 |
@@ -4,7 +4,7 @@ |
23 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
24 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
25 |
|
26 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v 1.38 2012/10/31 19:02:20 swift Exp $ --> |
27 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v 1.39 2013/08/01 19:41:44 swift Exp $ --> |
28 |
|
29 |
<sections> |
30 |
|
31 |
@@ -14,8 +14,8 @@ |
32 |
these aspects and explains how to deal with these scripts. |
33 |
</abstract> |
34 |
|
35 |
-<version>7</version> |
36 |
-<date>2012-10-31</date> |
37 |
+<version>8</version> |
38 |
+<date>2013-08-01</date> |
39 |
|
40 |
<section> |
41 |
<title>Runlevels</title> |
42 |
@@ -213,7 +213,7 @@ |
43 |
<p> |
44 |
The scripts that the <c>rc</c> process starts are called <e>init scripts</e>. |
45 |
Each script in <path>/etc/init.d</path> can be executed with the arguments |
46 |
-<e>start</e>, <e>stop</e>, <e>restart</e>, <e>pause</e>, <e>zap</e>, |
47 |
+<e>start</e>, <e>stop</e>, <e>restart</e>, <e>zap</e>, |
48 |
<e>status</e>, <e>ineed</e>, <e>iuse</e>, <e>needsme</e>, <e>usesme</e> or |
49 |
<e>broken</e>. |
50 |
</p> |
51 |
@@ -235,15 +235,15 @@ |
52 |
|
53 |
<p> |
54 |
If you want to stop a service, but not the services that depend on it, you can |
55 |
-use the <c>pause</c> argument: |
56 |
+use the <c>--nodeps</c> argument together with the <c>stop</c> command: |
57 |
</p> |
58 |
|
59 |
<pre caption="Stopping Postfix but keep the depending services running"> |
60 |
-# <i>/etc/init.d/postfix pause</i> |
61 |
+# <i>/etc/init.d/postfix --nodeps stop</i> |
62 |
</pre> |
63 |
|
64 |
<p> |
65 |
-If you want to see what status a service has (started, stopped, paused, ...) you |
66 |
+If you want to see what status a service has (started, stopped, ...) you |
67 |
can use the <c>status</c> argument: |
68 |
</p> |