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