Date: Thu, 20 Mar 2014 17:14:41 +0000 (UTC) From: Dru Lavigne <dru@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r44301 - head/en_US.ISO8859-1/books/handbook/config Message-ID: <201403201714.s2KHEfSb030270@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dru Date: Thu Mar 20 17:14:40 2014 New Revision: 44301 URL: http://svnweb.freebsd.org/changeset/doc/44301 Log: White space fix only. Translators can ignore. Sponsored by: iXsystems Modified: head/en_US.ISO8859-1/books/handbook/config/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/config/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/config/chapter.xml Thu Mar 20 17:07:35 2014 (r44300) +++ head/en_US.ISO8859-1/books/handbook/config/chapter.xml Thu Mar 20 17:14:40 2014 (r44301) @@ -406,13 +406,12 @@ PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin </info> <para>&os; uses the &man.rc.8; system of startup scripts during - system initialization and for managing services. The scripts listed in - <filename>/etc/rc.d</filename> provide basic - services which can be controlled with the - <option>start</option>, <option>stop</option>, and - <option>restart</option> options to &man.service.8;. For - instance, &man.sshd.8; can be restarted with the following - command:</para> + system initialization and for managing services. The scripts + listed in <filename>/etc/rc.d</filename> provide basic services + which can be controlled with the <option>start</option>, + <option>stop</option>, and <option>restart</option> options to + &man.service.8;. For instance, &man.sshd.8; can be restarted + with the following command:</para> <screen>&prompt.root; <userinput>service sshd restart</userinput></screen> @@ -544,64 +543,66 @@ sshd is running as pid 433.</screen> xlink:href="&url.articles.rc-scripting;">this article</link> for instructions on how to create custom &man.rc.8; scripts.</para> - - <sect2 xml:id="configtuning-core-configuration"> - <title>Managing System-Specific Configuration</title> - <indexterm> - <primary>rc files</primary> - <secondary><filename>rc.conf</filename></secondary> - </indexterm> + <sect2 xml:id="configtuning-core-configuration"> + <title>Managing System-Specific Configuration</title> - <para>The principal location for system configuration information - is <filename>/etc/rc.conf</filename>. This file contains a - wide range of configuration information and it is read at - system startup to configure the system. It provides the - configuration information for the <filename>rc*</filename> - files.</para> - - <para>The entries in <filename>/etc/rc.conf</filename> override - the default settings in - <filename>/etc/defaults/rc.conf</filename>. The file containing - the default settings should not be edited. Instead, all - system-specific changes should be made to - <filename>/etc/rc.conf</filename>.</para> - - <para>A number of strategies may be applied in clustered - applications to separate site-wide configuration from - system-specific configuration in order to keep administration - overhead down. The recommended approach is to place - system-specific configuration into - <filename>/etc/rc.conf.local</filename>. For example, these - entries in <filename>/etc/rc.conf</filename> apply to all systems:</para> + <indexterm> + <primary>rc files</primary> + <secondary><filename>rc.conf</filename></secondary> + </indexterm> + + <para>The principal location for system configuration + information is <filename>/etc/rc.conf</filename>. This file + contains a wide range of configuration information and it is + read at system startup to configure the system. It provides + the configuration information for the + <filename>rc*</filename> files.</para> + + <para>The entries in <filename>/etc/rc.conf</filename> override + the default settings in + <filename>/etc/defaults/rc.conf</filename>. The file + containing the default settings should not be edited. + Instead, all system-specific changes should be made to + <filename>/etc/rc.conf</filename>.</para> + + <para>A number of strategies may be applied in clustered + applications to separate site-wide configuration from + system-specific configuration in order to keep administration + overhead down. The recommended approach is to place + system-specific configuration into + <filename>/etc/rc.conf.local</filename>. For example, these + entries in <filename>/etc/rc.conf</filename> apply to all + systems:</para> - <programlisting>sshd_enable="YES" + <programlisting>sshd_enable="YES" keyrate="fast" defaultrouter="10.1.1.254"</programlisting> - <para>Whereas these systems in - <filename>/etc/rc.conf.local</filename> apply to this system - only:</para> + <para>Whereas these systems in + <filename>/etc/rc.conf.local</filename> apply to this system + only:</para> - <programlisting>hostname="node1.example.org" + <programlisting>hostname="node1.example.org" ifconfig_fxp0="inet 10.1.1.1/8"</programlisting> - <para>Distribute <filename>/etc/rc.conf</filename> to every - system using <command>rsync</command> or a similar program, - while <filename>/etc/rc.conf.local</filename> remains - unique.</para> - - <para>Upgrading the system will not overwrite - <filename>/etc/rc.conf</filename>, so system configuration - information will not be lost.</para> - - <tip> - <para>The configuration in <filename>/etc/rc.conf</filename> - is parsed by &man.sh.1;. This allows system operators to - create complex configuration scenarios. Refer to - &man.rc.conf.5; for further information on this topic.</para> - </tip> - </sect2> + <para>Distribute <filename>/etc/rc.conf</filename> to every + system using <command>rsync</command> or a similar program, + while <filename>/etc/rc.conf.local</filename> remains + unique.</para> + + <para>Upgrading the system will not overwrite + <filename>/etc/rc.conf</filename>, so system configuration + information will not be lost.</para> + + <tip> + <para>The configuration in <filename>/etc/rc.conf</filename> + is parsed by &man.sh.1;. This allows system operators to + create complex configuration scenarios. Refer to + &man.rc.conf.5; for further information on this + topic.</para> + </tip> + </sect2> </sect1> <sect1 xml:id="config-network-setup">
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403201714.s2KHEfSb030270>