[deployment-guide: 2/185] Simplified the structure of the Running the Services section.

Jaromir Hradilek jhradile at fedoraproject.org
Sun May 15 21:10:08 UTC 2011


commit f83f408ab4002550fd6788afe29e265a286fa159
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Mon Dec 6 20:45:22 2010 +0100

    Simplified the structure of the Running the Services section.

 en-US/Controlling_Access_to_Services.xml |  119 +++++++++++++++---------------
 1 files changed, 58 insertions(+), 61 deletions(-)
---
diff --git a/en-US/Controlling_Access_to_Services.xml b/en-US/Controlling_Access_to_Services.xml
index 58ec60d..1b4bbc6 100644
--- a/en-US/Controlling_Access_to_Services.xml
+++ b/en-US/Controlling_Access_to_Services.xml
@@ -531,72 +531,70 @@ rsync           off</screen>
   </section>
   <section id="s1-services-running">
     <title>Running the Services</title>
-    <section id="s2-services-service">
-      <title>Using the <application>service</application> Utility</title>
-      <indexterm significance="normal">
-        <primary>
-          <command>service</command>
-        </primary>
-        <see>services configuration</see>
-      </indexterm>
-      <indexterm>
-        <primary>services configuration</primary>
-        <secondary>
-          <command>service</command>
-        </secondary>
-      </indexterm>
+    <indexterm significance="normal">
+      <primary>
+        <command>service</command>
+      </primary>
+      <see>services configuration</see>
+    </indexterm>
+    <indexterm>
+      <primary>services configuration</primary>
+      <secondary>
+        <command>service</command>
+      </secondary>
+    </indexterm>
+    <para>
+      The <application>service</application> utility enables you to start, stop, or restart the services from the <filename class="directory">/etc/init.d/</filename> directory. To use it, make sure you have superuser privileges:
+    </para>
+    <screen>~]$ <command>su -</command>
+Password: </screen>
+    <note>
+      <title>Tip</title>
       <para>
-        The <application>service</application> utility enables you to start, stop, or restart the services from the <filename class="directory">/etc/init.d/</filename> directory. To use it, make sure you have superuser privileges:
+        If you are running a graphical user interface, you can also use the <application>Service Configuration</application> utility. See <xref linkend="s2-services-serviceconf" /> for more information.
       </para>
-      <screen>~]$ <command>su -</command>
-Password: </screen>
-      <note>
-        <title>Tip</title>
-        <para>
-          If you are running a graphical user interface, you can also use the <application>Service Configuration</application> utility. See <xref linkend="s2-services-serviceconf" /> for more information.
-        </para>
-      </note>
-      <section id="s3-services-running-running">
-        <title>Running the Service</title>
-        <para>
-          To run the service, type <command>service <replaceable>&lt;service_name&gt;</replaceable> start</command>. For example:
-        </para>
-        <screen>~]# <command>service httpd start</command>
+    </note>
+    <section id="s3-services-running-running">
+      <title>Running the Service</title>
+      <para>
+        To run the service, type <command>service <replaceable>&lt;service_name&gt;</replaceable> start</command>. For example:
+      </para>
+      <screen>~]# <command>service httpd start</command>
 Starting httpd:                                            [  OK  ]</screen>
-      </section>
-      <section id="s3-services-running-stopping">
-        <title>Stopping the Service</title>
-        <para>
-          To stop the service, type <command>service <replaceable>&lt;service_name&gt;</replaceable> stop</command>. For example:
-        </para>
-        <screen>~]# <command>service httpd stop</command>
+    </section>
+    <section id="s3-services-running-stopping">
+      <title>Stopping the Service</title>
+      <para>
+        To stop the service, type <command>service <replaceable>&lt;service_name&gt;</replaceable> stop</command>. For example:
+      </para>
+      <screen>~]# <command>service httpd stop</command>
 Stopping httpd:                                            [  OK  ]</screen>
-      </section>
-      <section id="s3-services-running-restarting">
-        <title>Restarting the Service</title>
-        <para>
-          To restart the service, type <command>service <replaceable>&lt;service_name&gt;</replaceable> restart</command>. For example:
-        </para>
-        <screen>~]# <command>service httpd restart</command>
+    </section>
+    <section id="s3-services-running-restarting">
+      <title>Restarting the Service</title>
+      <para>
+        To restart the service, type <command>service <replaceable>&lt;service_name&gt;</replaceable> restart</command>. For example:
+      </para>
+      <screen>~]# <command>service httpd restart</command>
 Stopping httpd:                                            [  OK  ]
 Starting httpd:                                            [  OK  ]</screen>
-      </section>
-      <section id="s3-services-running-checking">
-        <title>Checking the Service Status</title>
-        <para>
-          To check the current status of the service, type <command>service <replaceable>&lt;service_name&gt;</replaceable> status</command>. For example:
-        </para>
-        <example id="ex-services-running-checking-single">
-          <title>Checking the status of <application>httpd</application></title>
-          <screen>~]# <command>service httpd status</command>
+    </section>
+    <section id="s3-services-running-checking">
+      <title>Checking the Service Status</title>
+      <para>
+        To check the current status of the service, type <command>service <replaceable>&lt;service_name&gt;</replaceable> status</command>. For example:
+      </para>
+      <example id="ex-services-running-checking-single">
+        <title>Checking the status of <application>httpd</application></title>
+        <screen>~]# <command>service httpd status</command>
 httpd (pid  7474) is running...</screen>
-        </example>
-        <para>
-          You can also display the status of all available services at once using the <option>--status-all</option> option:
-        </para>
-        <example id="ex-services-running-checking-all">
-          <title>Checking the status of all services</title>
-          <screen>~]# <command>service --status-all</command>
+      </example>
+      <para>
+        You can also display the status of all available services at once using the <option>--status-all</option> option:
+      </para>
+      <example id="ex-services-running-checking-all">
+        <title>Checking the status of all services</title>
+        <screen>~]# <command>service --status-all</command>
 abrt (pid  1492) is running...
 acpid (pid  1305) is running...
 atd (pid  1540) is running...
@@ -606,8 +604,7 @@ Avahi daemon is running
 cpuspeed is stopped
 <emphasis>... several lines omitted ...</emphasis>
 wpa_supplicant (pid  1227) is running...</screen>
-        </example>
-      </section>
+      </example>
     </section>
   </section>
   <section id="s1-services-additional-resources">


More information about the docs-commits mailing list