mirror of
https://github.com/retailcrm/Fetch.git
synced 2024-11-29 14:06:03 +03:00
Stopping/Starting Dovecot before moving ssl cert
This commit is contained in:
parent
b7b7d54966
commit
aab81066cc
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user