Remove dovecot symlink

This commit is contained in:
Bob Mottram 2016-10-23 12:08:11 +01:00
parent cbabae84b2
commit 1e3a25aebe
1 changed files with 3 additions and 0 deletions

View File

@ -1183,6 +1183,9 @@ function configure_imap {
rm /var/lib/dovecot/ssl-parameters.dat
fi
if [ -f /etc/systemd/system/sockets.target.wants/dovecot.socket ]; then
rm /etc/systemd/system/sockets.target.wants/dovecot.socket
fi
systemctl restart dovecot
mark_completed $FUNCNAME
}