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