$HOME).
--dparam=OVERRIDE, -M
This option can be used to set a daemon‐config parameter when
starting up rsync in daemon mode. It is equivalent to adding the
parameter at the end of the global settings prior to the first
module’s definition. The parameter names can be specified with‐
out spaces, if you so desire. For instance:
rsync ‐‐daemon ‐M pidfile=/path/rsync.pid
--no‐detach
When running as a daemon, this option instructs rsync to not de‐
tach itself and become a background process. This option is re‐
quired when running as a service on Cygwin, and may also be use‐
ful when rsync is supervised by a program such as daemontools or
AIX’s System Resource Controller. --no‐detach is also recom‐
mended when rsync is run under a debugger. This option has no
effect if rsync is run from inetd or sshd.
--port=PORT
This specifies an alternate TCP port number for the daemon to
listen on rather than the default of 873.
See also the client version of the --port option and the port
global setting in the rsyncd.conf manpage.
--log‐file=FILE
This option tells the rsync daemon to use the given log‐file name
instead of using the "log file" setting in the config file.
See also the client version of the --log‐file option.
--log‐file‐format=FORMAT
This option tells the rsync daemon to use the given FORMAT string
instead of using the "log format" setting in the config file. It
also enables "transfer logging" unless the string is empty, in
which case transfer logging is turned off.
See also the client version of the --log‐file‐format option.
--sockopts
This overrides the socket options setting in the rsyncd.conf file
and has the same syntax.
See also the client version of the --sockopts option.
--verbose, -v
This option increases the amount of information the daemon logs
during its startup phase. After the client connects, the dae‐
mon’s verbosity level will be controlled by the options that the
client used and the "max verbosity" setting in the module’s con‐
fig section.
See also the client version of the --verbose option.
--ipv4, -4 or --ipv6, -6
Tells rsync to prefer IPv4/IPv6 when creating the incoming sock‐
ets that the rsync daemon will use to listen for connections.
One of these options may be required in older versions of Linux
to work around an IPv6 bug in the kernel (if you see an "address
already in use" error when nothing else is using the port, try
specifying --ipv6 or --ipv4 when starting the daemon).
See also the client version of these options.
If rsync was compiled without support for IPv6, the --ipv6 option
will have no effect. The rsync --version output will contain
"no IPv6" if is the case.
--help, -h
When specified after --daemon, print a short help page describing
the options available for starting an rsync daemon.
FILTER RULES
The filter rules allow for custom control of several aspects of how
files are handled:
o Control which files the sending side puts into the file list that
describes the transfer hierarchy
o Control which files the receiving side protects from deletion
when the file is not in the sender’s file list
o Control which extended attribute names