From aab81066ccd759625e044b0d1ec63aeba43b1236 Mon Sep 17 00:00:00 2001 From: Robert Hafner Date: Thu, 5 Dec 2013 14:45:56 -0800 Subject: [PATCH] Stopping/Starting Dovecot before moving ssl cert --- tests/SetupEnvironment.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/SetupEnvironment.sh b/tests/SetupEnvironment.sh index 92019ea..8825946 100755 --- a/tests/SetupEnvironment.sh +++ b/tests/SetupEnvironment.sh @@ -5,9 +5,11 @@ if [ -n "$TRAVIS" ]; then echo 'Travis config not yet written' sudo cp -Rp $TRAVIS_BUILD_DIR/tests/resources /resources sudo /bin/bash /resources/Scripts/Provision.sh + sudo stop dovecot sudo cp -p /resources/dovecot.pem /etc/ssl/private/ sudo chgrp dovecot /etc/ssl/private/dovecot.pem - sudo restart dovecot + sudo start dovecot + else