X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Frsync%2Ftemplates%2Frsyncd-stunnel.conf.erb;fp=modules%2Frsync%2Ftemplates%2Frsyncd-stunnel.conf.erb;h=f57d67aff51c89327d68c63637548c00e8db0307;hb=94eb0fe06f5deafe086b3f6f18bfd5aab2a6e069;hp=0000000000000000000000000000000000000000;hpb=7db455e2a7ee435bae1e3f64f2ab425415c2a23b;p=mirror%2Fdsa-puppet.git diff --git a/modules/rsync/templates/rsyncd-stunnel.conf.erb b/modules/rsync/templates/rsyncd-stunnel.conf.erb new file mode 100644 index 000000000..f57d67aff --- /dev/null +++ b/modules/rsync/templates/rsyncd-stunnel.conf.erb @@ -0,0 +1,11 @@ +cert = /etc/ssl/debian/certs/<%= sslname %>.crt-chained +key = /etc/ssl/private/<%= sslname %>.key + +debug = notice + +client = no +socket = a:SO_LINGER=1:60 +socket = a:SO_KEEPALIVE=1 + +exec = /usr/bin/rsync +execargs = rsync --daemon --config=/etc/rsyncd-<%= name %>.conf