summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2022-07-20 13:33:10 -0400
committerLuke Smith <luke@lukesmith.xyz>2022-07-20 13:33:10 -0400
commitfd41c1d6528bf90b7475a34e976a15f2c658d26d (patch)
treece118b1da1e8a67227b9daf3a7e3057387a034ef
parent3c17f0dcd3db66787b6f8ea5793b07e9caae50dc (diff)
ensure services enabled, close #228
-rwxr-xr-xemailwiz.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/emailwiz.sh b/emailwiz.sh
index 5b45f03..f7028df 100755
--- a/emailwiz.sh
+++ b/emailwiz.sh
@@ -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.