File tree Expand file tree Collapse file tree 3 files changed +28
-2
lines changed
Expand file tree Collapse file tree 3 files changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ logpath = /var/log/dovecot.log
2828enabled = false
2929filter = mysqld-auth
3030action = hestia[name=DB]
31- logpath = /var/log/mysql.log
31+ logpath = /var/log/mysql/error .log
3232maxretry = 5
3333
3434[hestia-iptables]
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ logpath = /var/log/dovecot.log
2828enabled = false
2929filter = mysqld-auth
3030action = hestia[name=DB]
31- logpath = /var/log/mysql.log
31+ logpath = /var/log/mysql/error .log
3232maxretry = 5
3333
3434[hestia-iptables]
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Hestia Control Panel upgrade script for target version 1.6.12
4+
5+ # ######################################################################################
6+ # ###### Place additional commands below. #######
7+ # ######################################################################################
8+ # ###### Pass through information to the end user in case of a issue or problem #######
9+ # ###### #######
10+ # ###### Use add_upgrade_message "My message here" to include a message #######
11+ # ###### in the upgrade notification email. Example: #######
12+ # ###### #######
13+ # ###### add_upgrade_message "My message here" #######
14+ # ###### #######
15+ # ###### You can use \n within the string to create new lines. #######
16+ # ######################################################################################
17+
18+ upgrade_config_set_value ' UPGRADE_UPDATE_WEB_TEMPLATES' ' no'
19+ upgrade_config_set_value ' UPGRADE_UPDATE_DNS_TEMPLATES' ' no'
20+ upgrade_config_set_value ' UPGRADE_UPDATE_MAIL_TEMPLATES' ' no'
21+ upgrade_config_set_value ' UPGRADE_REBUILD_USERS' ' no'
22+ upgrade_config_set_value ' UPGRADE_UPDATE_FILEMANAGER_CONFIG' ' false'
23+
24+ if [ -f " /etc/fail2ban/jail.local" ]; then
25+ sed -i " s|/var/log/mysql.log|/var/log/mysql/error.log|g" /etc/fail2ban/jail.local
26+ fi
You can’t perform that action at this time.
0 commit comments