From fe3eea2f1bd55947a496dfa159667de3710e29fa Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 31 Jan 2016 22:56:49 +0100 Subject: [PATCH] add template --- .../syncproxy/rsyncd-syncproxy-stunnel.conf.erb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 modules/roles/templates/syncproxy/rsyncd-syncproxy-stunnel.conf.erb diff --git a/modules/roles/templates/syncproxy/rsyncd-syncproxy-stunnel.conf.erb b/modules/roles/templates/syncproxy/rsyncd-syncproxy-stunnel.conf.erb new file mode 100644 index 000000000..4f00885f4 --- /dev/null +++ b/modules/roles/templates/syncproxy/rsyncd-syncproxy-stunnel.conf.erb @@ -0,0 +1,11 @@ +cert = /etc/ssl/debian/certs/<%= syncproxy_name %>.crt-chained +key = /etc/ssl/private/<%= syncproxy_name %>.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-syncproxy.conf -- 2.20.1