Install guide: fix rsync service startup

Document how the rsync service can be started for all distros.

Use "service" instead of "daemon", with associated markup.

Change-Id: I48a4760e2a11d5bc0301b77bda0fce5533c79021
Closes-Bug: #1274054
backport: havana
This commit is contained in:
Gauvain Pocentek 2014-01-29 23:43:02 +01:00
parent 241008c02e
commit 76f272a07d

View File

@ -21,9 +21,9 @@
<para>
<screen os="ubuntu"><prompt>#</prompt> <userinput>apt-get install swift-account swift-container swift-object xfsprogs</userinput></screen>
<screen os="rhel;centos;fedora"><prompt>#</prompt> <userinput>yum install openstack-swift-account openstack-swift-container \
openstack-swift-object xfsprogs</userinput></screen>
openstack-swift-object xfsprogs xinetd</userinput></screen>
<screen os="opensuse;sles"><prompt>#</prompt> <userinput>zypper install openstack-swift-account openstack-swift-container \
openstack-swift-object xfsprogs</userinput></screen></para>
openstack-swift-object xfsprogs xinetd</userinput></screen></para>
</step>
<step>
<para>For each device on the node that you want to use for
@ -105,16 +105,25 @@ lock file = /var/lock/object.lock</programlisting>
<literal>STORAGE_LOCAL_NET_IP</literal>:</para>
<programlisting language="ini">address = &lt;STORAGE_REPLICATION_NET_IP&gt;</programlisting>
</step>
<step>
<step os="ubuntu;debian">
<para>Edit the following line in
<filename>/etc/default/rsync</filename>:</para>
<programlisting language="ini">RSYNC_ENABLE = true</programlisting>
<programlisting language="ini">RSYNC_ENABLE=true</programlisting>
</step>
<step os="rhel;centos;fedora;sles;opensuse">
<para>Edit the following line in
<filename>/etc/xinetd.d/rsync</filename>:</para>
<programlisting language="ini">disable = false</programlisting>
</step>
<step>
<para>Start rsync daemon:</para>
<screen><prompt>#</prompt> <userinput>service rsync start</userinput></screen>
<para os="ubuntu;debian">Start the <systemitem
class="service">rsync</systemitem> service:</para>
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>service rsync start</userinput></screen>
<para os="rhel;centos;fedora;sles;opensuse">Start the <systemitem
class="service">xinetd</systemitem> service:</para>
<screen os="rhel;centos;fedora;sles;opensuse"><prompt>#</prompt> <userinput>service xinetd start</userinput></screen>
<note>
<para>The rsync daemon requires no authentication, so
<para>The rsync service requires no authentication, so
run it on a local, private network.</para>
</note>
</step>