default 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # defaults file for rsync daemon mode
  2. # start rsync in daemon mode from init.d script?
  3. # only allowed values are "true", "false", and "inetd"
  4. # Use "inetd" if you want to start the rsyncd from inetd,
  5. # all this does is prevent the init.d script from printing a message
  6. # about not starting rsyncd (you still need to modify inetd's config yourself).
  7. RSYNC_ENABLE=false
  8. # which file should be used as the configuration file for rsync.
  9. # This file is used instead of the default /etc/rsyncd.conf
  10. # Warning: This option has no effect if the daemon is accessed
  11. # using a remote shell. When using a different file for
  12. # rsync you might want to symlink /etc/rsyncd.conf to
  13. # that file.
  14. # RSYNC_CONFIG_FILE=
  15. # what extra options to give rsync --daemon?
  16. # that excludes the --daemon; that's always done in the init.d script
  17. # Possibilities are:
  18. # --address=123.45.67.89 (bind to a specific IP address)
  19. # --port=8730 (bind to specified port; default 873)
  20. RSYNC_OPTS=''
  21. # run rsyncd at a nice level?
  22. # the rsync daemon can impact performance due to much I/O and CPU usage,
  23. # so you may want to run it at a nicer priority than the default priority.
  24. # Allowed values are 0 - 19 inclusive; 10 is a reasonable value.
  25. RSYNC_NICE=''
  26. # run rsyncd with ionice?
  27. # "ionice" does for IO load what "nice" does for CPU load.
  28. # As rsync is often used for backups which aren't all that time-critical,
  29. # reducing the rsync IO priority will benefit the rest of the system.
  30. # See the manpage for ionice for allowed options.
  31. # -c3 is recommended, this will run rsync IO at "idle" priority. Uncomment
  32. # the next line to activate this.
  33. # RSYNC_IONICE='-c3'
  34. # Don't forget to create an appropriate config file,
  35. # else the daemon will not start.