From a83cef4e74b6234dda7a2d306169003ea84bed13 Mon Sep 17 00:00:00 2001
From: Alain Takoudjou <talino@tiolive.com>
Date: Tue, 9 Oct 2012 16:57:17 +0200
Subject: [PATCH] Restore stunnel port

---
 stack/boinc/buildout.cfg       | 2 +-
 stack/boinc/instance-boinc.cfg | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/stack/boinc/buildout.cfg b/stack/boinc/buildout.cfg
index 13db63872..4de14c2df 100644
--- a/stack/boinc/buildout.cfg
+++ b/stack/boinc/buildout.cfg
@@ -41,7 +41,7 @@ eggs =
 recipe = slapos.recipe.template
 url = ${:_profile_base_location_}/instance-boinc.cfg
 output = ${buildout:directory}/template-boinc.cfg
-md5sum = a034940505756139e5aeacd5d8e17fbc
+md5sum = ed50e3c97e0b33b8c287dbe600a3a093
 mode = 0644
 
 #Template for deploying MySQL Database Server
diff --git a/stack/boinc/instance-boinc.cfg b/stack/boinc/instance-boinc.cfg
index af2b42678..eea481b7b 100644
--- a/stack/boinc/instance-boinc.cfg
+++ b/stack/boinc/instance-boinc.cfg
@@ -73,7 +73,7 @@ stunnel-binary = ${stunnel:location}/bin/stunnel
 remote-host = $${mariadb-urlparse:host}
 remote-port = $${mariadb-urlparse:port}
 local-host = $${slap-network-information:local-ipv4}
-local-port = 33060
+local-port = 3306
 log-file = $${basedirectory:log}/stunnel.log
 config-file = $${directory:stunnel-conf}/stunnel.conf
 key-file = $${directory:stunnel-conf}/stunnel.key
-- 
2.30.9