|
|
@@ -588,7 +588,7 @@ if [ "$mail" != 'no' ] && [ ! -z "$MAIL_SYSTEM" ]; then
|
|
|
cp -f $tmpdir/mail/$domain/$backup_system/$domain.conf $USER_DATA/mail/
|
|
|
|
|
|
# Rebuilding mail config
|
|
|
- rebuild_mail_domain_conf
|
|
|
+ v-rebuild-mail-domains $user
|
|
|
|
|
|
domain_idn=$domain
|
|
|
format_domain_idn
|
|
|
@@ -617,6 +617,14 @@ if [ "$mail" != 'no' ] && [ ! -z "$MAIL_SYSTEM" ]; then
|
|
|
-exec chown $exim_user {} \;
|
|
|
|
|
|
done
|
|
|
+
|
|
|
+ # Restarting web server
|
|
|
+ $BIN/v-restart-web
|
|
|
+ check_result $? "Web restart failed"
|
|
|
+ if [ ! -z "$PROXY_SYSTEM" ]; then
|
|
|
+ $BIN/v-restart-proxy
|
|
|
+ check_result $? "Proxy restart failed"
|
|
|
+ fi
|
|
|
fi
|
|
|
|
|
|
# Restoring databases
|