glfs/server/other/rsync/rsync-config.xml
Tushar Teredesai ae9c5281f1 More2 bootscript changes
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1941 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-03-28 01:46:42 +00:00

46 lines
1.4 KiB
XML

<sect2>
<title>Configuring <application>rsync</application></title>
<sect3><title>Config files</title>
<para><filename>/etc/rsyncd.conf</filename></para>
</sect3>
<sect3><title>Configuration Information</title>
<para>This is a simple download-only configuration. See the rsyncd man-page for
additional options (i.e. user authentication).</para>
<screen><userinput><command>cat &gt; /etc/rsyncd.conf &lt;&lt; "EOF"</command>
# This is a basic rsync configuration file
# It exports a single module without user authentication.
motd file = /home/rsync/welcome.msg
use chroot = yes
[localhost]
path = /home/rsync
comment = Default rsync module
read only = yes
list = yes
uid = rsyncd
gid = rsyncd
<command>EOF</command></userinput></screen>
</sect3>
<sect3><title>rsyncd init.d script</title>
<para>Note that you only want to start the <application>rsync</application>
server if you want to provide a <application>rsync</application> archive on
your machine. The <application>rsync</application> client doesn't need this
script to be used.</para>
<para>Install <filename>/etc/rc.d/init.d/rsyncd</filename>
init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
<screen><userinput><command>make install-rsyncd</command></userinput></screen>
</sect3>
</sect2>