With the release of Tiger, Apple have introduced a new way of launching daemons on startup: launchd. In many ways, launchd is similar to the inetd system on Linux: one central system looks after launching and closing several daemons.
To get the rsync daemon up and running on Tiger, just drop the following config file into your /Library/LaunchDaemons/ directory and reboot your machine.
Download rsync.plist. (Control-click and 'Save Linked File to Desktop').
Questions, or comments to:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>Label</key>
<string>rsync</string>
<key>Program</key>
<string>/usr/bin/rsync</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/rsync</string>
<string>--daemon</string>
</array>
<key>inetdCompatibility</key>
<dict>
<key>Wait</key>
<false/>
</dict>
<key>Sockets</key>
<dict>
<key>Listeners</key>
<dict>
<key>SockServiceName</key>
<string>rsync</string>
<key>SockType</key>
<string>stream</string>
</dict>
</dict>
</dict>
</plist>