Update 'installer.sh'

Added Amavis to start after the ClamAV update
This commit is contained in:
b.waal
2019-09-20 03:32:13 +02:00
parent cf5e8ece54
commit b7665b7a40

View File

@@ -420,7 +420,7 @@ systemctl restart nginx mysql postfix@- fail2ban clamav-daemon clamav-freshclam
##-------------------------##
# Configuring Services #
##-------------------------##
systemctl start amavisd-snmp-subagent amavis-mc postfix dovecot > $OUTPUT 2>&1
systemctl start amavis amavisd-snmp-subagent amavis-mc postfix dovecot > $OUTPUT 2>&1
echo "@reboot root sleep 300 && systemctl start amavis amavisd-snmp-subagent amavis-mc postfix dovecot" >> /etc/crontab
##------------------##