Changeset 6397333 for networking/netprogs/rsync.xml
- Timestamp:
- 09/22/2018 11:32:07 PM (6 years ago)
- Branches:
- basic
- Children:
- 4de7ca7
- Parents:
- acf7e2c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
networking/netprogs/rsync.xml
racf7e2c r6397333 89 89 <screen><userinput>./configure --prefix=/usr --without-included-zlib && 90 90 make</userinput></screen> 91 <!-- 92 <para>If you have <xref linkend="doxygen"/> installed and wish to 91 92 <para>If you have 93 <ulink url="&blfs-book;general/doxygen.html">doxygen</ulink> 94 installed and wish to 93 95 build HTML API documentation, issue <command>doxygen</command>.</para> 94 --> 96 95 97 <para>To test the results, issue: <command>make check</command>.</para> 96 98 … … 165 167 166 168 <sect3 id="rsync-init"> 167 <title><phrase revision="sysv">Boot Script</phrase> 168 <phrase revision="systemd">Systemd Unit</phrase></title> 169 <title>Boot Script or Systemd Unit</title> 169 170 170 171 <para>Note that you only want to start the 171 172 <application>rsync</application> server if you want to provide an 172 173 <application>rsync</application> archive on your local machine. 173 You don't need this <phrase revision="sysv">script</phrase> 174 <phrase revision="systemd">unit</phrase> to run the 174 You don't need this script or unit to run the 175 175 <application>rsync</application> client.</para> 176 176 177 177 <para>Install the 178 <phrase revision="sysv"><filename>/etc/rc.d/init.d/rsyncd</filename> init 179 script</phrase> 180 <phrase revision="systemd"><filename>rsyncd.service</filename> 181 unit</phrase> included in the 182 <xref linkend="bootscripts" revision="sysv"/> 183 <xref linkend="systemd-units" revision="systemd"/> package.</para> 178 <filename>/etc/rc.d/init.d/rsyncd</filename> init script (for 179 System V bades systems) or the <filename>rsyncd.service</filename> 180 unit (for systemd based systems) included in the 181 <xref linkend="bootscripts"/> 182 <xref linkend="systemd-units"/> packages respectively.</para> 184 183 185 184 <screen role="root"><userinput>make install-rsyncd</userinput></screen> 186 185 187 <note revision="systemd"> 188 <para>This package comes with two types of units: A service file and a 186 <note> 187 <para>For systemd use, this package comes with two types of units: 188 A service file and a 189 189 socket file. The service file will start rsync daemon once at boot 190 190 and it will keep running until the system shuts down. The socket file 191 will make systemd listen on rsync port (Default 873, needs to be191 will make systemd listen on the rsync port (Default 873, needs to be 192 192 edited for anything else) and will start rsync daemon when something 193 193 tries to connect to that port and stop the daemon when the connection 194 194 is terminated. This is called socket activation and is analogous to 195 using <application>{,x}inetd</application> on a Sys Vinitbased195 using <application>{,x}inetd</application> on a System V based 196 196 system.</para> 197 197
Note:
See TracChangeset
for help on using the changeset viewer.