Changeset 7b478500 for networking/netprogs/rsync.xml
- Timestamp:
- 06/11/2016 05:26:20 AM (8 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- cec6657e
- Parents:
- a9e71e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
networking/netprogs/rsync.xml
ra9e71e2 r7b478500 165 165 166 166 <sect3 id="rsync-init"> 167 <title>Boot Script</title> 167 <title><phrase revision="sysv">Boot Script</phrase> 168 <phrase revision="systemd">Systemd Unit</phrase></title> 168 169 169 170 <para>Note that you only want to start the 170 171 <application>rsync</application> server if you want to provide an 171 172 <application>rsync</application> archive on your local machine. 172 You don't need this script to run the 173 You don't need this <phrase revision="sysv">script</phrase> 174 <phrase revision="systemd">unit</phrase> to run the 173 175 <application>rsync</application> client.</para> 174 176 175 <para>Install the <filename>/etc/rc.d/init.d/rsyncd</filename> init 176 script included in the 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 177 182 <xref linkend="bootscripts" revision="sysv"/> 178 183 <xref linkend="systemd-units" revision="systemd"/> package.</para> 179 184 180 185 <screen role="root"><userinput>make install-rsyncd</userinput></screen> 186 187 <note revision="systemd"> 188 <para>This package comes with two types of units: A service file and a 189 socket file. The service file will start rsync daemon once at boot 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 be 192 edited for anything else) and will start rsync daemon when something 193 tries to connect to that port and stop the daemon when the connection 194 is terminated. This is called socket activation and is analogous to 195 using <application>{,x}inetd</application> on a SysVinit based 196 system.</para> 197 198 199 <para>By default, the first method is used - rsync daemon is started 200 at boot and stopped at shutdown. If the socket method is desired, you 201 need to run as the 202 <systemitem class="username">root</systemitem> user:</para> 203 204 <screen role="root"><userinput>systemctl stop rsyncd && 205 systemctl disable rsyncd && 206 systemctl enable rsyncd.socket && 207 systemctl start rsyncd.socket</userinput></screen> 208 209 <para>Note that socket method is only useful for remote backups. For 210 local backups you'll need the service method.</para> 211 </note> 181 212 182 213 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.