Update 'installer.sh'
This commit is contained in:
@@ -34,8 +34,8 @@ if (whiptail --title "Ubuntu 18.04 Mail Server" --yesno "Do you want to install
|
|||||||
fi
|
fi
|
||||||
echo "" >/dev/null
|
echo "" >/dev/null
|
||||||
#password=$(whiptail --nocancel --passwordbox "Please enter your password (should contain at least 2 digits and 6 characters)" 8 82 --title "Config" 3>&1 1>&2 2>&3)
|
#password=$(whiptail --nocancel --passwordbox "Please enter your password (should contain at least 2 digits and 6 characters)" 8 82 --title "Config" 3>&1 1>&2 2>&3)
|
||||||
#domain=$(whiptail --nocancel --inputbox "Enter the Domain without www or mail." 8 41 --title "Config" 3>&1 1>&2 2>&3)
|
#domain=$(whiptail --nocancel --inputbox " Enter the Domain without www or mail." 8 82 --title "Config" 3>&1 1>&2 2>&3)
|
||||||
#email=$(whiptail --nocancel --inputbox "Enter the Administrator E-mail" 8 34 --title "Config" 3>&1 1>&2 2>&3)
|
##email=$(whiptail --nocancel --inputbox " Enter the Administrator E-mail" 8 82 --title "Config" 3>&1 1>&2 2>&3)
|
||||||
elif [ $IMODE = l ]; then
|
elif [ $IMODE = l ]; then
|
||||||
echo "" >/dev/null
|
echo "" >/dev/null
|
||||||
#echo "Ubuntu 18.04 Mailserver installation script."
|
#echo "Ubuntu 18.04 Mailserver installation script."
|
||||||
@@ -567,6 +567,11 @@ systemctl restart nginx mysql postfix postfix@- dovecot fail2ban clamav-daemon c
|
|||||||
##-------------------------------------------##
|
##-------------------------------------------##
|
||||||
systemctl start amavisd-snmp-subagent amavis-mc
|
systemctl start amavisd-snmp-subagent amavis-mc
|
||||||
|
|
||||||
|
##-----------------------------------##
|
||||||
|
# Letting Amavis wait for ClamAV #
|
||||||
|
##-----------------------------------##
|
||||||
|
echo "@reboot root systemctl stop amavisd-snmp-subagent amavis-mc && sleep 300 && systemctl start systemctl stop amavisd-snmp-subagent amavis-mc" >> /etc/crontab
|
||||||
|
|
||||||
##------------------##
|
##------------------##
|
||||||
# Final Update #
|
# Final Update #
|
||||||
##------------------##
|
##------------------##
|
||||||
|
|||||||
Reference in New Issue
Block a user