From 056f73fc8ff1cff2fce060074b3a9dcf287a1bc6 Mon Sep 17 00:00:00 2001 From: f Date: Sat, 14 Sep 2024 17:23:10 -0300 Subject: [PATCH] feat: monitor certificate --- postfixd.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/postfixd.sh b/postfixd.sh index 058ae26..5af7911 100755 --- a/postfixd.sh +++ b/postfixd.sh @@ -22,6 +22,15 @@ case $1 in test -n "${NETWORKS}" && postconf -e mynetworks="${NETWORKS}" + if ! test -f /etc/monit.d/cert.conf ; then + cat >/etc/monit.d/cert.conf <