ensure services enabled, close #228

This commit is contained in:
Luke Smith 2022-07-20 13:33:10 -04:00
parent 3c17f0dcd3
commit fd41c1d652

View File

@ -307,6 +307,7 @@ systemctl daemon-reload
for x in spamassassin opendkim dovecot postfix; do
printf "Restarting %s..." "$x"
service "$x" restart && printf " ...done\\n"
systemctl enable "$x"
done
# If ufw is used, enable the mail ports.