hestiacp/install/upgrade/versions/1.4.3.sh

21 lines
671 B

#!/bin/bash
# Hestia Control Panel upgrade script for target version 1.4.3
#######################################################################################
####### Place additional commands below. #######
#######################################################################################
# Improve generate and loading firewall rules
if [ "$FIREWALL_SYSTEM" = "iptables" ]; then
echo "[ * ] Fix the issue of generate firewall rules..."
$BIN/v-update-firewall
fi
# Reset PMA SSO
if [ "$PHPMYADMIN_KEY" != "" ]; then
echo "[ * ] Refressh hestia-sso for PMA..."
$BIN/v-delete-sys-pma-sso
$BIN/v-add-sys-pma-sso
fi