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