Commit 62327b12 authored by Wayne Davison's avatar Wayne Davison

We need a trailing dot when using --server --daemon.

parent 99c9520e
#!/bin/bash #!/bin/bash
# This must be called as: # This must be called as (note the trailing dot):
# #
# stunnel-rsync HOSTNAME rsync --server --daemon . # stunnel-rsync HOSTNAME rsync --server --daemon .
# #
# ... which is typically done via the rsync-ssl script, which results in something like this: # ... 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 # 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. # Note that this requires at least version 4.x of stunnel.
......
...@@ -26,5 +26,5 @@ CAfile = /etc/ssl/ca-bundle.pem ...@@ -26,5 +26,5 @@ CAfile = /etc/ssl/ca-bundle.pem
exec = @bindir@/rsync exec = @bindir@/rsync
# You can either share the same config as a normal daemon, or specify a separate config: # You can either share the same config as a normal daemon, or specify a separate config:
execargs = rsync --server --daemon execargs = rsync --server --daemon .
#execargs = rsync --server --daemon --config=/etc/rsync-ssl/rsyncd.conf #execargs = rsync --server --daemon --config=/etc/rsync-ssl/rsyncd.conf .
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment