summaryrefslogtreecommitdiffstats
path: root/dehydrated
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xdehydrated/share/hooks/exit_hook.service-reload9
1 files changed, 9 insertions, 0 deletions
diff --git a/dehydrated/share/hooks/exit_hook.service-reload b/dehydrated/share/hooks/exit_hook.service-reload
index 02dd6c5..cec5583 100755
--- a/dehydrated/share/hooks/exit_hook.service-reload
+++ b/dehydrated/share/hooks/exit_hook.service-reload
@@ -54,3 +54,12 @@ then
echo " done."
fi
fi
+
+if grep -r -qs '^smtpd_tls' /etc/postfix/main.cf/* && service postfix status > /dev/null 2>&1
+then
+ echo -n " + postfix:"
+
+ service postfix restart
+
+ echo " done."
+fi