Skip to content

Commit d0a5b81

Browse files
authored
Merge pull request #106 from alxwr/fix-script-security
fix(config): script-security is a common option
2 parents 72884fb + b1b482c commit d0a5b81

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

openvpn/files/common_opts.jinja

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,3 +321,7 @@ rcvbuf {{ config.rcvbuf }}
321321
{% if config.get('float', False) -%}
322322
float
323323
{%- endif %}
324+
325+
{%- if config.script_security is defined %}
326+
script-security {{ config.script_security }}
327+
{%- endif %}

openvpn/files/server.jinja

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,6 @@ verify-client-cert {{ config.verify_client_cert }}
108108
management {{ config.management }}
109109
{%- endif %}
110110

111-
{%- if config.script_security is defined %}
112-
script-security {{ config.script_security }}
113-
{%- endif %}
114-
115111
{%- if config.auth_user_pass_verify is defined %}
116112
auth-user-pass-verify {{ config.auth_user_pass_verify }}
117113
{%- endif %}

0 commit comments

Comments
 (0)