<%= 'debug = ' + debuglevel %>
<%= 'pid = ' + real_pid %>
<%- %w{chroot setuid setgid service compression}.each do |v|
- if @v -%>
-<%= v + " = " + @v %>
+ if has_variable?(v) and instance_variable_get("@#{v}").to_s != "false" -%>
+<%= v + " = " + instance_variable_get("@#{v}").to_s %>
<%-
end
end -%>
<% end -%>
<%- %w{output syslog}.each do |v|
- if @v -%>
-<%= v + " = " + @v %>
+ if has_variable?(v) and instance_variable_get("@#{v}").to_s != "false" -%>
+<%= v + " = " + instance_variable_get("@#{v}").to_s %>
<%-
end
end -%>
<%- %w{egd engine enginectrl rndbytes rndfile rndoverwrite}.each do |v|
- if @v -%>
-<%= v + " = " + @v %>
+ if has_variable?(v) and instance_variable_get("@#{v}").to_s != "false" -%>
+<%= v + " = " + instance_variable_get("@#{v}").to_s %>
<%-
end
end -%>
execargs failover ident key local oscp ocspflag options protocol protocolauthentication
protocolhost protocolpassword protocolusername pty retry session sslversion stack
timeoutbusy timeoutclose timeoutconnect timeoutidle transparent verify}.each do |v|
- if @v -%>
-<%= v + ' = ' + @v %>
+ if has_variable?(v) and instance_variable_get("@#{v}").to_s != "false" -%>
+<%= v + ' = ' + instance_variable_get("@#{v}").to_s %>
<%-
end
end -%>