[deployment-guide/comm-rel-15] Changed the placement of an example.

Jaromir Hradilek jhradile at fedoraproject.org
Fri Jul 15 15:55:38 UTC 2011


commit 494d95086f9354a3e0c7a17cc792444c30d3623f
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Fri Jul 15 17:49:14 2011 +0200

    Changed the placement of an example.

 en-US/Services_and_Daemons.xml |   56 ++++++++++++++++++++--------------------
 1 files changed, 28 insertions(+), 28 deletions(-)
---
diff --git a/en-US/Services_and_Daemons.xml b/en-US/Services_and_Daemons.xml
index 3f92976..76c5a4e 100644
--- a/en-US/Services_and_Daemons.xml
+++ b/en-US/Services_and_Daemons.xml
@@ -215,8 +215,35 @@ Password:</screen>
         This command provides detailed information on the service's status. However, if you merely need to verify that a service is running, you can use the <command>systemctl</command> command in the following form instead:
       </para>
       <screen><command>systemctl</command> <option>is-active</option> <option><replaceable>service_name</replaceable>.service</option></screen>
+      <example id="exam-services-running-checking">
+        <title>Checking the status of the httpd service</title>
+        <para>
+          <xref linkend="exam-services-configuration-enabling" /> illustrated how to enable starting the <systemitem class="service">httpd</systemitem> service at boot time. Imagine that the system has been restarted and you need to verify that the service is really running. You can do so by typing the following at a shell prompt:
+        </para>
+        <screen>~]$ <command>systemctl is-active httpd.service</command>
+active</screen>
+        <para>
+          You can also display detailed information about the service by running the following command:
+        </para>
+        <screen>~]$ <command>systemctl status httpd.service</command>
+httpd.service - LSB: start and stop Apache HTTP Server
+          Loaded: loaded (/etc/rc.d/init.d/httpd)
+          Active: active (running) since Mon, 23 May 2011 21:38:57 +0200; 27s ago
+         Process: 2997 ExecStart=/etc/rc.d/init.d/httpd start (code=exited, status=0/SUCCESS)
+        Main PID: 3002 (httpd)
+          CGroup: name=systemd:/system/httpd.service
+                  ├ 3002 /usr/sbin/httpd
+                  ├ 3004 /usr/sbin/httpd
+                  ├ 3005 /usr/sbin/httpd
+                  ├ 3006 /usr/sbin/httpd
+                  ├ 3007 /usr/sbin/httpd
+                  ├ 3008 /usr/sbin/httpd
+                  ├ 3009 /usr/sbin/httpd
+                  ├ 3010 /usr/sbin/httpd
+                  └ 3011 /usr/sbin/httpd</screen>
+      </example>
       <para>
-        Finally, to display a list of all active system services, type:
+        To display a list of all active system services, use the following command:
       </para>
       <screen><command>systemctl list-units --type=service</command></screen>
       <para>
@@ -254,33 +281,6 @@ Password:</screen>
           </para>
         </listitem>
       </itemizedlist>
-      <example id="exam-services-running-checking">
-        <title>Checking the status of the httpd service</title>
-        <para>
-          <xref linkend="exam-services-configuration-enabling" /> illustrated how to enable starting the <systemitem class="service">httpd</systemitem> service at boot time. Imagine that the system has been restarted and you need to verify that the service is really running. You can do so by typing the following at a shell prompt:
-        </para>
-        <screen>~]$ <command>systemctl is-active httpd.service</command>
-active</screen>
-        <para>
-          You can also display detailed information about the service by running the following command:
-        </para>
-        <screen>~]$ <command>systemctl status httpd.service</command>
-httpd.service - LSB: start and stop Apache HTTP Server
-          Loaded: loaded (/etc/rc.d/init.d/httpd)
-          Active: active (running) since Mon, 23 May 2011 21:38:57 +0200; 27s ago
-         Process: 2997 ExecStart=/etc/rc.d/init.d/httpd start (code=exited, status=0/SUCCESS)
-        Main PID: 3002 (httpd)
-          CGroup: name=systemd:/system/httpd.service
-                  ├ 3002 /usr/sbin/httpd
-                  ├ 3004 /usr/sbin/httpd
-                  ├ 3005 /usr/sbin/httpd
-                  ├ 3006 /usr/sbin/httpd
-                  ├ 3007 /usr/sbin/httpd
-                  ├ 3008 /usr/sbin/httpd
-                  ├ 3009 /usr/sbin/httpd
-                  ├ 3010 /usr/sbin/httpd
-                  └ 3011 /usr/sbin/httpd</screen>
-      </example>
       <example id="exam-services-running-checking-all">
         <title>Listing all active services</title>
         <para>


More information about the docs-commits mailing list