diff options
-rwxr-xr-x | stunnel-rsync.in | 4 | ||||
-rw-r--r-- | stunnel-rsyncd.conf.in | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/stunnel-rsync.in b/stunnel-rsync.in index f206b93a..fdd8bfd1 100755 --- a/stunnel-rsync.in +++ b/stunnel-rsync.in @@ -1,11 +1,11 @@ #!/bin/bash -# This must be called as: +# This must be called as (note the trailing dot): # # stunnel-rsync HOSTNAME rsync --server --daemon . # # ... which is typically done via the rsync-ssl script, which results in something like this: # -# rsync --rsh=stunnel-rsync -aiv HOSTNAME::module ... +# rsync --rsh=stunnel-rsync -aiv HOSTNAME::module [ARGS] # # This SSL setup based on the files by: http://dozzie.jarowit.net/trac/wiki/RsyncSSL # Note that this requires at least version 4.x of stunnel. diff --git a/stunnel-rsyncd.conf.in b/stunnel-rsyncd.conf.in index 202c9ed2..fd28d5d4 100644 --- a/stunnel-rsyncd.conf.in +++ b/stunnel-rsyncd.conf.in @@ -26,5 +26,5 @@ CAfile = /etc/ssl/ca-bundle.pem exec = @bindir@/rsync # You can either share the same config as a normal daemon, or specify a separate config: -execargs = rsync --server --daemon -#execargs = rsync --server --daemon --config=/etc/rsync-ssl/rsyncd.conf +execargs = rsync --server --daemon . +#execargs = rsync --server --daemon --config=/etc/rsync-ssl/rsyncd.conf . |