Stopping/Starting Dovecot before moving ssl cert

This commit is contained in:
Robert Hafner 2013-12-05 14:45:56 -08:00
parent b7b7d54966
commit aab81066cc

View File

@ -5,9 +5,11 @@ if [ -n "$TRAVIS" ]; then
echo 'Travis config not yet written' echo 'Travis config not yet written'
sudo cp -Rp $TRAVIS_BUILD_DIR/tests/resources /resources sudo cp -Rp $TRAVIS_BUILD_DIR/tests/resources /resources
sudo /bin/bash /resources/Scripts/Provision.sh sudo /bin/bash /resources/Scripts/Provision.sh
sudo stop dovecot
sudo cp -p /resources/dovecot.pem /etc/ssl/private/ sudo cp -p /resources/dovecot.pem /etc/ssl/private/
sudo chgrp dovecot /etc/ssl/private/dovecot.pem sudo chgrp dovecot /etc/ssl/private/dovecot.pem
sudo restart dovecot sudo start dovecot
else else