From: Wayne Davison Date: Fri, 12 Jul 2013 22:28:54 +0000 (-0700) Subject: We need a trailing dot when using --server --daemon. X-Git-Tag: v3.1.0pre1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62327b1281be9151423048235573e0ca208fc095;p=thirdparty%2Frsync.git We need a trailing dot when using --server --daemon. --- 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 .