summaryrefslogtreecommitdiff
path: root/rsync.yo
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-07-27 12:13:35 -0700
committerWayne Davison <wayned@samba.org>2008-07-27 12:13:35 -0700
commit2206abf88410dc19632faf6743eae525ad94199a (patch)
tree2bdfde60f88810e821911496a1e5c7e1bbf527f7 /rsync.yo
parentfcd613d6c71948334cf8135c22ac4936807204f0 (diff)
downloadrsync-2206abf88410dc19632faf6743eae525ad94199a.tar.gz
Added a command-line override for daemon config parameters:
--dparam=PARAMETER=VALUE (-M PARAMETER=VALUE).
Diffstat (limited to 'rsync.yo')
-rw-r--r--rsync.yo9
1 files changed, 9 insertions, 0 deletions
diff --git a/rsync.yo b/rsync.yo
index c34d4be7..08e3bbc2 100644
--- a/rsync.yo
+++ b/rsync.yo
@@ -438,6 +438,7 @@ accepted: verb(
--address=ADDRESS bind to the specified address
--bwlimit=KBPS limit I/O bandwidth; KBytes per second
--config=FILE specify alternate rsyncd.conf file
+ -M, --dparam=OVERRIDE override global daemon config parameter
--no-detach do not detach from the parent
--port=PORT listen on alternate port number
--log-file=FILE override the "log file" setting
@@ -2220,6 +2221,14 @@ The default is /etc/rsyncd.conf unless the daemon is running over
a remote shell program and the remote user is not the super-user; in that case
the default is rsyncd.conf in the current directory (typically $HOME).
+dit(bf(-M, --dparam=OVERRIDE)) 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 without spaces, if you so
+desire. For instance:
+
+verb( rsync --daemon -M pidfile=/path/rsync.pid )
+
dit(bf(--no-detach)) When running as a daemon, this option instructs
rsync to not detach itself and become a background process. This
option is required when running as a service on Cygwin, and may also