Skip to content

Commit e13dc30

Browse files
author
Kristan Kenney
committed
Upgrade webmail virtual host configuration
1 parent 47efc0f commit e13dc30

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

install/upgrade/0.9.8-29.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,16 @@ if [ -f /etc/dovecot/dovecot.conf ]; then
169169
sleep 0.5
170170
fi
171171

172+
# Update Roundcube webmail configuration
173+
if [ -f /etc/apache2/conf.d/webmail.conf ]; then
174+
echo "(*) Updating Roundcube global subdomain configuration for apache2..."
175+
cp -f $HESTIA/install/deb/roundcube/apache.conf /etc/apache2/conf.d/roundcube.conf.conf
176+
fi
177+
if [ -f /etc/nginx/conf.d/webmail.conf ]; then
178+
echo "(*) Updating Roundcube global subdomain configuration for nginx..."
179+
cp -f $HESTIA/install/deb/nginx/webmail.conf /etc/nginx/conf.d/webmail.conf
180+
fi
181+
172182
# Add IMAP system variable to configuration if dovecot is installed
173183
if [ -z "$IMAP_SYSTEM" ]; then
174184
if [ -f /usr/bin/dovecot ]; then

0 commit comments

Comments
 (0)