home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / rsync / examples / rsyncd.conf
Encoding:
Text File  |  2006-07-20  |  935 b   |  43 lines

  1. # sample rsyncd.conf configuration file
  2.  
  3. # GLOBAL OPTIONS
  4.  
  5. #motd file=/etc/motd
  6. #log file=/var/log/rsyncd
  7. # for pid file, do not use /var/run/rsync.pid if
  8. # you are going to run rsync out of the init.d script.
  9. pid file=/var/run/rsyncd.pid
  10. #syslog facility=daemon
  11. #socket options=
  12.  
  13. # MODULE OPTIONS
  14.  
  15. [ftp]
  16.  
  17.     comment = public archive
  18.     path = /var/www/pub
  19.     use chroot = yes
  20. #    max connections=10
  21.     lock file = /var/lock/rsyncd
  22. # the default for read only is yes...
  23.     read only = yes
  24.     list = yes
  25.     uid = nobody
  26.     gid = nogroup
  27. #    exclude = 
  28. #    exclude from = 
  29. #    include =
  30. #    include from =
  31. #    auth users = 
  32. #    secrets file = /etc/rsyncd.secrets
  33.     strict modes = yes
  34. #    hosts allow =
  35. #    hosts deny =
  36.     ignore errors = no
  37.     ignore nonreadable = yes
  38.     transfer logging = no
  39. #    log format = %t: host %h (%a) %o %f (%l bytes). Total %b bytes.
  40.     timeout = 600
  41.     refuse options = checksum dry-run
  42.     dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz
  43.