Enable rsync-ssl on keyring.debian.org
[mirror/dsa-puppet.git] / modules / stunnel4 / templates / stunnel.conf.erb
index da61562..d2a3258 100644 (file)
@@ -5,7 +5,7 @@
 
 <%- if client -%>
 cert = /etc/ssl/debian/certs/thishost.crt
-key = /etc/ssl/debian/keys/thishost.key
+key = /etc/ssl/private/thishost.key
 <%- else -%>
 cert = /etc/exim4/ssl/thishost.crt
 key = /etc/exim4/ssl/thishost.key
@@ -32,6 +32,7 @@ debug = notice
 client = <%= client ? "yes" : "no" %>
 
 socket = a:SO_LINGER=1:60
+socket = a:SO_KEEPALIVE=1
 
 [<%= name %>-server]
 accept = <%= accept =~ /:/ ? accept : ":::#{accept}" %>