From 397c166a42f04d77d7d50d35d0b599f7bf5caff4 Mon Sep 17 00:00:00 2001
From: pierreozoux <pierre@ozoux.net>
Date: Tue, 10 Mar 2015 15:22:34 +0000
Subject: [PATCH] Enable and start docker images from test

---
 scripts/install.sh | 2 --
 tests/dovecot.sh   | 3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/scripts/install.sh b/scripts/install.sh
index dbc0cfb..69071b3 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -29,8 +29,6 @@ cp /data/indiehosters/tests/unsecure-certs/indiehosters.dev.pem /data/runtime/ha
 
 systemctl enable rsyslog
 systemctl start  rsyslog
-systemctl enable postfix
-systemctl start  postfix
 systemctl enable confd
 systemctl start  confd
 systemctl enable haproxy.path
diff --git a/tests/dovecot.sh b/tests/dovecot.sh
index 3508cd9..142af0a 100755
--- a/tests/dovecot.sh
+++ b/tests/dovecot.sh
@@ -24,5 +24,8 @@ openssl dhparam -out /data/domains/mail/TLS/dh2048.pem 2048
 
 cp /data/domains/mail/TLS/ssl_certificate.pem /data/domains/mail/TLS/mail.pem
 
+systemctl enable dovecot
+systemctl enable postfix
 systemctl start dovecot
+systemctl start postfix
 
-- 
GitLab