Browse Source

ensure services enabled, close #228

pull/230/head
Luke Smith 2 years ago
parent
commit
fd41c1d652
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      emailwiz.sh

+ 1
- 0
emailwiz.sh View File

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


# If ufw is used, enable the mail ports. # If ufw is used, enable the mail ports.


Loading…
Cancel
Save