summaryrefslogtreecommitdiff
path: root/bin/ftpsync
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2016-02-04 18:50:14 +0100
committerPeter Palfrader <peter@palfrader.org>2016-02-04 18:50:14 +0100
commitc60ecbe2ffc425e22c635c3d6b15189f06ab4685 (patch)
treedc0109016982bc3edbe0352337326220e19be2c2 /bin/ftpsync
parenta5fc25ef4c352b0fdbfa38acf653bfa716fa8ee5 (diff)
Default to stunnel4 with checkHost - this will break unless one runs stretch or newer
Diffstat (limited to 'bin/ftpsync')
-rwxr-xr-xbin/ftpsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index c96f8f5..2242cfe 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -487,7 +487,7 @@ done
RSYNC_SSL=${RSYNC_SSL:-"false"}
RSYNC_SSL_PORT=${RSYNC_SSL_PORT:-"1873"}
RSYNC_SSL_CAPATH=${RSYNC_SSL_CAPATH:-"/etc/ssl/certs"}
-RSYNC_SSL_METHOD=${RSYNC_SSL_METHOD:-"socat"}
+RSYNC_SSL_METHOD=${RSYNC_SSL_METHOD:-"stunnel4"}
if [[ true != ${RSYNC_SSL} ]]; then
RSYNC_SSL_OPTIONS=""