On Sat, Oct 20, 2001 at 11:59:33AM +0200, Lapo Luchini wrote: >> Would you consider expanding your README file to provide this >> information? Then we could tell the rsync maintainers to get rid of >> that web page altogether. (Or better, replace it with a pointer to >> Cygwin.) I don't like to put information like this in the FAQ. > >Of course. >I just wrote a small HOWTO for a friend that's not too capable with unix >& cygwin and I can extend it and update the readme. > >> Thanks again for maintaining rsync. I use it myself. (Though not in >> daemon mode, otherwise I would volunteer to write those instructions >> myself.) > >Well I've not had the time to study it thoroughly to solve the one >problem I'm aware of (rsync:// daemon mode in cygwin), but version 2.4.7 >is so close that maybe a patch isn't worth the work. > >Instruction proposal: > >Using CygWin official distro you can easily have an rsync daemon under >Win2k. >You need the packages "rsync" (rsync itself) and "cygrunsrv" (replaces >srvany.exe to install and manage Windows services). > >1. use http://cygwin.com/setup.exe to install (at least) the following >packages (take care that the default is "install everything"): cygwin, >rsync, cygrunsrv, bash [also bash could be useful for point 1, but what >other packages are NEEDED?]
Could you create a setup.hint file with this information in it? If you look at the current setup.ini, you'll see the short description for rsync. If you could just create a setup.ini with an updated 'requires' line then I'll install it. It should probably look something like: requires cygrunsrv bash zlib (I don't know what it actually requires but hopefully you get the idea) cgf >2. create your /etc/rsyncd.conf text file similiar to this one ("man >rsyncd.conf" for more info, be careful that the proposed setup exposes >ALL the file system to the anonymous user) > >use chroot = false >strict modes = false >hosts allow = * > >[backup] >path = /usr/pub/rsync/ >read only = yes >list = yes > >3. create the service writing the following in your bash: cygrunsrv -I >"RSYNC Daemon" -p /usr/bin/rsync -a '--config=/etc/rsyncd.conf --daemon' > >4. you should now be able to start/stop the service either using the >control panel, microsoft's "net" command or cygwin's "cygrunsrv" command > >someone has something to add? >Suggestions? > >-- >Lapo 'Raist' Luchini >[EMAIL PROTECTED] (PGP & X.509 keys available) >http://www.lapo.it (ICQ UIN: 529796) -- [EMAIL PROTECTED] Red Hat, Inc. http://sources.redhat.com/ http://www.redhat.com/