ensure services enabled, close #228
This commit is contained in:
parent
3c17f0dcd3
commit
fd41c1d652
@ -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…
Reference in New Issue
Block a user