rsyncd.conf 937 B

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