projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move archvsync_base from FTP to debian_mirror
[mirror/dsa-puppet.git]
/
modules
/
stunnel4
/
templates
/
stunnel.conf.erb
diff --git
a/modules/stunnel4/templates/stunnel.conf.erb
b/modules/stunnel4/templates/stunnel.conf.erb
index
b4d5448
..
d2a3258
100644
(file)
--- 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
<%- 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
<%- else -%>
cert = /etc/exim4/ssl/thishost.crt
key = /etc/exim4/ssl/thishost.key
@@
-31,6
+31,9
@@
debug = notice
client = <%= client ? "yes" : "no" %>
client = <%= client ? "yes" : "no" %>
+socket = a:SO_LINGER=1:60
+socket = a:SO_KEEPALIVE=1
+
[<%= name %>-server]
accept = <%= accept =~ /:/ ? accept : ":::#{accept}" %>
connect = <%= connect %>
[<%= name %>-server]
accept = <%= accept =~ /:/ ? accept : ":::#{accept}" %>
connect = <%= connect %>