swift 13/08/01 19:41:44 Modified: hb-working-rcscripts.xml Log: Fix bug #475924 - pause for initscripts no longer recommended, use --nodeps stop instead. thanks to Thomas D. for reporting.
Revision Changes Path 1.39 xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?rev=1.39&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?rev=1.39&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml?r1=1.38&r2=1.39 Index: hb-working-rcscripts.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v retrieving revision 1.38 retrieving revision 1.39 diff -u -r1.38 -r1.39 --- hb-working-rcscripts.xml 31 Oct 2012 19:02:20 -0000 1.38 +++ hb-working-rcscripts.xml 1 Aug 2013 19:41:44 -0000 1.39 @@ -4,7 +4,7 @@ <!-- The content of this document is licensed under the CC-BY-SA license --> <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v 1.38 2012/10/31 19:02:20 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-rcscripts.xml,v 1.39 2013/08/01 19:41:44 swift Exp $ --> <sections> @@ -14,8 +14,8 @@ these aspects and explains how to deal with these scripts. </abstract> -<version>7</version> -<date>2012-10-31</date> +<version>8</version> +<date>2013-08-01</date> <section> <title>Runlevels</title> @@ -213,7 +213,7 @@ <p> The scripts that the <c>rc</c> process starts are called <e>init scripts</e>. Each script in <path>/etc/init.d</path> can be executed with the arguments -<e>start</e>, <e>stop</e>, <e>restart</e>, <e>pause</e>, <e>zap</e>, +<e>start</e>, <e>stop</e>, <e>restart</e>, <e>zap</e>, <e>status</e>, <e>ineed</e>, <e>iuse</e>, <e>needsme</e>, <e>usesme</e> or <e>broken</e>. </p> @@ -235,15 +235,15 @@ <p> If you want to stop a service, but not the services that depend on it, you can -use the <c>pause</c> argument: +use the <c>--nodeps</c> argument together with the <c>stop</c> command: </p> <pre caption="Stopping Postfix but keep the depending services running"> -# <i>/etc/init.d/postfix pause</i> +# <i>/etc/init.d/postfix --nodeps stop</i> </pre> <p> -If you want to see what status a service has (started, stopped, paused, ...) you +If you want to see what status a service has (started, stopped, ...) you can use the <c>status</c> argument: </p>