File tree Expand file tree Collapse file tree 5 files changed +104
-0
lines changed
Expand file tree Collapse file tree 5 files changed +104
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ service pop3 {
2020}
2121
2222service auth {
23+ extra_groups = mail
24+
2325 unix_listener auth-client {
2426 group = mail
2527 mode = 0660
Original file line number Diff line number Diff line change 1+ #!/bin/bash
2+
3+ # Hestia Control Panel upgrade script for target version 1.7.4
4+
5+ #######################################################################################
6+ ####### Place additional commands below. #######
7+ #######################################################################################
8+ ####### upgrade_config_set_value only accepts true or false. #######
9+ ####### #######
10+ ####### Pass through information to the end user in case of a issue or problem #######
11+ ####### #######
12+ ####### Use add_upgrade_message "My message here" to include a message #######
13+ ####### in the upgrade notification email. Example: #######
14+ ####### #######
15+ ####### add_upgrade_message "My message here" #######
16+ ####### #######
17+ ####### You can use \n within the string to create new lines. #######
18+ #######################################################################################
19+
20+ upgrade_config_set_value 'UPGRADE_UPDATE_WEB_TEMPLATES' 'false'
21+ upgrade_config_set_value 'UPGRADE_UPDATE_DNS_TEMPLATES' 'false'
22+ upgrade_config_set_value 'UPGRADE_UPDATE_MAIL_TEMPLATES' 'false'
23+ upgrade_config_set_value 'UPGRADE_REBUILD_USERS' 'false'
24+ upgrade_config_set_value 'UPGRADE_UPDATE_FILEMANAGER_CONFIG' 'false'
Original file line number Diff line number Diff line change 1+ #!/bin/bash
2+
3+ # Hestia Control Panel upgrade script for target version 1.7.5
4+
5+ #######################################################################################
6+ ####### Place additional commands below. #######
7+ #######################################################################################
8+ ####### upgrade_config_set_value only accepts true or false. #######
9+ ####### #######
10+ ####### Pass through information to the end user in case of a issue or problem #######
11+ ####### #######
12+ ####### Use add_upgrade_message "My message here" to include a message #######
13+ ####### in the upgrade notification email. Example: #######
14+ ####### #######
15+ ####### add_upgrade_message "My message here" #######
16+ ####### #######
17+ ####### You can use \n within the string to create new lines. #######
18+ #######################################################################################
19+
20+ upgrade_config_set_value 'UPGRADE_UPDATE_WEB_TEMPLATES' 'false'
21+ upgrade_config_set_value 'UPGRADE_UPDATE_DNS_TEMPLATES' 'false'
22+ upgrade_config_set_value 'UPGRADE_UPDATE_MAIL_TEMPLATES' 'false'
23+ upgrade_config_set_value 'UPGRADE_REBUILD_USERS' 'false'
24+ upgrade_config_set_value 'UPGRADE_UPDATE_FILEMANAGER_CONFIG' 'false'
Original file line number Diff line number Diff line change 1+ #!/bin/bash
2+
3+ # Hestia Control Panel upgrade script for target version 1.7.6
4+
5+ #######################################################################################
6+ ####### Place additional commands below. #######
7+ #######################################################################################
8+ ####### upgrade_config_set_value only accepts true or false. #######
9+ ####### #######
10+ ####### Pass through information to the end user in case of a issue or problem #######
11+ ####### #######
12+ ####### Use add_upgrade_message "My message here" to include a message #######
13+ ####### in the upgrade notification email. Example: #######
14+ ####### #######
15+ ####### add_upgrade_message "My message here" #######
16+ ####### #######
17+ ####### You can use \n within the string to create new lines. #######
18+ #######################################################################################
19+
20+ upgrade_config_set_value 'UPGRADE_UPDATE_WEB_TEMPLATES' 'false'
21+ upgrade_config_set_value 'UPGRADE_UPDATE_DNS_TEMPLATES' 'false'
22+ upgrade_config_set_value 'UPGRADE_UPDATE_MAIL_TEMPLATES' 'false'
23+ upgrade_config_set_value 'UPGRADE_REBUILD_USERS' 'false'
24+ upgrade_config_set_value 'UPGRADE_UPDATE_FILEMANAGER_CONFIG' 'false'
Original file line number Diff line number Diff line change 1+ #!/bin/bash
2+
3+ # Hestia Control Panel upgrade script for target version 1.7.6
4+
5+ #######################################################################################
6+ ####### Place additional commands below. #######
7+ #######################################################################################
8+ ####### upgrade_config_set_value only accepts true or false. #######
9+ ####### #######
10+ ####### Pass through information to the end user in case of a issue or problem #######
11+ ####### #######
12+ ####### Use add_upgrade_message "My message here" to include a message #######
13+ ####### in the upgrade notification email. Example: #######
14+ ####### #######
15+ ####### add_upgrade_message "My message here" #######
16+ ####### #######
17+ ####### You can use \n within the string to create new lines. #######
18+ #######################################################################################
19+
20+ upgrade_config_set_value 'UPGRADE_UPDATE_WEB_TEMPLATES' 'false'
21+ upgrade_config_set_value 'UPGRADE_UPDATE_DNS_TEMPLATES' 'false'
22+ upgrade_config_set_value 'UPGRADE_UPDATE_MAIL_TEMPLATES' 'false'
23+ upgrade_config_set_value 'UPGRADE_REBUILD_USERS' 'false'
24+ upgrade_config_set_value 'UPGRADE_UPDATE_FILEMANAGER_CONFIG' 'false'
25+
26+ if [ "$IMAP_SYSTEM" = "dovecot" ]; then
27+ if grep -qw "^extra_groups = mail$" /etc/dovecot/conf.d/10-master.conf 2> /dev/null; then
28+ sed -i "s/^service auth {/service auth {\n extra_groups = mail\n/g" /etc/dovecot/conf.d/10-master.conf
29+ fi
30+ fi
You can’t perform that action at this time.
0 commit comments