We need a trailing dot when using --server --daemon.
authorWayne Davison <wayned@samba.org>
Fri, 12 Jul 2013 22:28:54 +0000 (15:28 -0700)
committerWayne Davison <wayned@samba.org>
Fri, 12 Jul 2013 22:28:54 +0000 (15:28 -0700)
stunnel-rsync.in
stunnel-rsyncd.conf.in

index f206b93add0d9c7280fdde45a6e5fd34d12847ce..fdd8bfd11a9667b16d0ea7857003958198138f4b 100755 (executable)
@@ -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.
index 202c9ed22d9d70db2ddb2284b699ff9ac5e375c0..fd28d5d4a946f9b68bd9b6f992a9b033b6c6d705 100644 (file)
@@ -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 .