[deployment-guide: 4/185] Simplified the formatting of the commands.
Jaromir Hradilek
jhradile at fedoraproject.org
Sun May 15 21:10:19 UTC 2011
commit 14afacfeeae488ec6678e1ed4b91d65ee699dc28
Author: Jaromir Hradilek <jhradile at redhat.com>
Date: Mon Dec 6 20:52:45 2010 +0100
Simplified the formatting of the commands.
en-US/Controlling_Access_to_Services.xml | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/en-US/Controlling_Access_to_Services.xml b/en-US/Controlling_Access_to_Services.xml
index d6fb75a..fe3d22d 100644
--- a/en-US/Controlling_Access_to_Services.xml
+++ b/en-US/Controlling_Access_to_Services.xml
@@ -477,7 +477,7 @@ xinetd based services:
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off</screen>
</example>
<para>
- You can also use <command>chkconfig --list <replaceable><service></replaceable></command> to display the status of a service that is managed by <application>xinetd</application>. In that case, the output will simply contain the information whether the service is enabled or disabled:
+ You can also use <command>chkconfig --list <replaceable>service</replaceable></command> to display the status of a service that is managed by <application>xinetd</application>. In that case, the output will simply contain the information whether the service is enabled or disabled:
</para>
<example id="ex-services-chkconfig-listing-xinetd">
<title>Listing a service that is managed by <application>xinetd</application></title>
@@ -488,7 +488,7 @@ rsync off</screen>
<section id="s3-services-chkconfig-enabling">
<title>Enabling the Service</title>
<para>
- To enable the service for runlevels 2, 3, 4, and 5 at the same time, type <command>chkconfig <replaceable><service></replaceable> on</command>. For instance:
+ To enable the service for runlevels 2, 3, 4, and 5 at the same time, type <command>chkconfig <replaceable>service</replaceable> on</command>. For instance:
</para>
<screen>~]# <command>chkconfig httpd on</command></screen>
<para>
@@ -499,7 +499,7 @@ rsync off</screen>
The service will be started the next time you enter one of these runlevels. If you need to start the service immediately, use the <command>service</command> command as described in <xref linkend="s3-services-running-running" />.
</para>
<para>
- To enable the service that is managed by <application>xinetd</application>, use <command>chkconfig <replaceable><service></replaceable> on</command> only, as the <option>--level</option> option is not allowed:
+ To enable the service that is managed by <application>xinetd</application>, use <command>chkconfig <replaceable>service</replaceable> on</command> only, as the <option>--level</option> option is not allowed:
</para>
<screen>~]# <command>chkconfig rsync on</command></screen>
<para>
@@ -509,7 +509,7 @@ rsync off</screen>
<section id="s3-services-chkconfig-disabling">
<title>Disabling the Service</title>
<para>
- To disable the service for runlevels 2, 3, 4, and 5 at the same time, type <command>chkconfig <replaceable><service></replaceable> off</command>. For instance:
+ To disable the service for runlevels 2, 3, 4, and 5 at the same time, type <command>chkconfig <replaceable>service</replaceable> off</command>. For instance:
</para>
<screen>~]# <command>chkconfig httpd off</command></screen>
<para>
@@ -520,7 +520,7 @@ rsync off</screen>
The service will be stopped the next time you enter one of these runlevels. If you need to stop the service immediately, use the <command>service</command> command as described in <xref linkend="s3-services-running-stopping" />.
</para>
<para>
- To disable the service that is managed by <application>xinetd</application>, use <command>chkconfig <replaceable><service></replaceable> off</command> only, as the <option>--level</option> option is not allowed:
+ To disable the service that is managed by <application>xinetd</application>, use <command>chkconfig <replaceable>service</replaceable> off</command> only, as the <option>--level</option> option is not allowed:
</para>
<screen>~]# <command>chkconfig rsync off</command></screen>
<para>
@@ -557,7 +557,7 @@ Password: </screen>
<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><service_name></replaceable> status</command>. For example:
+ To check the current status of the service, type <command>service <replaceable>service_name</replaceable> status</command>. For example:
</para>
<example id="ex-services-running-checking-single">
<title>Checking the status of <application>httpd</application></title>
@@ -584,7 +584,7 @@ wpa_supplicant (pid 1227) is running...</screen>
<section id="s3-services-running-running">
<title>Running the Service</title>
<para>
- To run the service, type <command>service <replaceable><service_name></replaceable> start</command>. For example:
+ To run the service, type <command>service <replaceable>service_name</replaceable> start</command>. For example:
</para>
<screen>~]# <command>service httpd start</command>
Starting httpd: [ OK ]</screen>
@@ -592,7 +592,7 @@ Starting httpd: [ OK ]</screen>
<section id="s3-services-running-stopping">
<title>Stopping the Service</title>
<para>
- To stop the service, type <command>service <replaceable><service_name></replaceable> stop</command>. For example:
+ To stop the service, type <command>service <replaceable>service_name</replaceable> stop</command>. For example:
</para>
<screen>~]# <command>service httpd stop</command>
Stopping httpd: [ OK ]</screen>
@@ -600,7 +600,7 @@ Stopping httpd: [ OK ]</screen>
<section id="s3-services-running-restarting">
<title>Restarting the Service</title>
<para>
- To restart the service, type <command>service <replaceable><service_name></replaceable> restart</command>. For example:
+ To restart the service, type <command>service <replaceable>service_name</replaceable> restart</command>. For example:
</para>
<screen>~]# <command>service httpd restart</command>
Stopping httpd: [ OK ]
More information about the docs-commits
mailing list