X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fstunnel4%2Ftemplates%2Fstunnel.conf.erb;h=d2a3258ae89888886ec35b470f96c47fcebd6d5a;hb=1799bb689ed1adb565be1bb1bbf712a77d96eab1;hp=da6156291d65ca83aba23f3193de947ef379a888;hpb=f6076148413e9ea0511b96242d535fa6acae9a07;p=mirror%2Fdsa-puppet.git diff --git a/modules/stunnel4/templates/stunnel.conf.erb b/modules/stunnel4/templates/stunnel.conf.erb index da6156291..d2a3258ae 100644 --- a/modules/stunnel4/templates/stunnel.conf.erb +++ b/modules/stunnel4/templates/stunnel.conf.erb @@ -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}" %>