Compare commits

..

No commits in common. "99947137cca9502f3ce1613dc94f4485af64c648" and "b52598d1f741883e3073489f1b625bc2a955b1c0" have entirely different histories.

2 changed files with 6 additions and 15 deletions

View file

@ -12,18 +12,18 @@ steps:
- "ALPINE_VERSION=${ALPINE_VERSION}" - "ALPINE_VERSION=${ALPINE_VERSION}"
- "POSTFIX_VERSION=${POSTFIX_VERSION}" - "POSTFIX_VERSION=${POSTFIX_VERSION}"
- "BASE_IMAGE=gitea.nulo.in/sutty/monit" - "BASE_IMAGE=gitea.nulo.in/sutty/monit"
password: secrets:
from_secret: "DOCKER_PASSWORD" - "DOCKER_PASSWORD"
when: when:
branch: "antifascista" branch: "antifascista"
event: "push" event: "push"
matrix: matrix:
include: include:
- ALPINE_VERSION: "3.20.3" - ALPINE_VERSION: "3.20.1"
POSTFIX_VERSION: "3.9.0" POSTFIX_VERSION: "3.9.0"
- ALPINE_VERSION: "3.19.4" - ALPINE_VERSION: "3.19.2"
POSTFIX_VERSION: "3.8.6" POSTFIX_VERSION: "3.8.6"
- ALPINE_VERSION: "3.18.9" - ALPINE_VERSION: "3.18.7"
POSTFIX_VERSION: "3.8.6" POSTFIX_VERSION: "3.8.6"
- ALPINE_VERSION: "3.17.10" - ALPINE_VERSION: "3.17.8"
POSTFIX_VERSION: "3.7.11" POSTFIX_VERSION: "3.7.11"

View file

@ -22,15 +22,6 @@ case $1 in
test -n "${NETWORKS}" && postconf -e mynetworks="${NETWORKS}" test -n "${NETWORKS}" && postconf -e mynetworks="${NETWORKS}"
if ! test -f /etc/monit.d/cert.conf ; then
cat >/etc/monit.d/cert.conf <<MONIT
check file certificate with path /etc/letsencrypt/live/${SUTTY}/fullchain.pem
if does not exist then alert
if changed checksum then exec "/usr/sbin/postfix reload"
MONIT
monit reload
fi
;; ;;
stop) ;; stop) ;;
esac esac