Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
isaak yansane-sisk
slapos
Commits
19db1417
Commit
19db1417
authored
Jun 06, 2011
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mysql : stunnel configuration
parent
a5534d1a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
slapos/recipe/mysql/__init__.py
slapos/recipe/mysql/__init__.py
+2
-1
slapos/recipe/mysql/template/stunnel.conf.in
slapos/recipe/mysql/template/stunnel.conf.in
+2
-2
No files found.
slapos/recipe/mysql/__init__.py
View file @
19db1417
...
@@ -210,7 +210,8 @@ class Recipe(BaseSlapRecipe):
...
@@ -210,7 +210,8 @@ class Recipe(BaseSlapRecipe):
log
=
os
.
path
.
join
(
self
.
log_directory
,
'stunnel.log'
)
log
=
os
.
path
.
join
(
self
.
log_directory
,
'stunnel.log'
)
pid_file
=
os
.
path
.
join
(
self
.
run_directory
,
'stunnel.pid'
)
pid_file
=
os
.
path
.
join
(
self
.
run_directory
,
'stunnel.pid'
)
stunnel_conf
=
dict
(
stunnel_conf
=
dict
(
ip
=
ip
,
ipv6
=
ip
,
ipv4
=
self
.
getLocalIPv4Address
,
port
=
port
,
port
=
port
,
pid_file
=
pid_file
,
pid_file
=
pid_file
,
log
=
log
,
log
=
log
,
...
...
slapos/recipe/mysql/template/stunnel.conf.in
View file @
19db1417
...
@@ -10,5 +10,5 @@ cert = %(cert)s
...
@@ -10,5 +10,5 @@ cert = %(cert)s
;key = /etc/ssl/certs/stunnel.pem
;key = /etc/ssl/certs/stunnel.pem
[mysqls]
[mysqls]
accept = %(ip)s:%(port)s
accept = %(ip
v6
)s:%(port)s
connect = %(external_port)s
connect = %(
ipv4)s:%(
external_port)s
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment