From 70cc88efbf6c4391be12d328387daeb6ad490ae7 Mon Sep 17 00:00:00 2001 From: Alex Palaistras Date: Fri, 17 Nov 2023 13:38:34 +0000 Subject: [PATCH] rspamd: Update to 3.7.4, start on health-check --- service/rspamd/Containerfile | 2 +- service/rspamd/quadlet/rspamd.container | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/service/rspamd/Containerfile b/service/rspamd/Containerfile index 758dc8d..ddb02ce 100644 --- a/service/rspamd/Containerfile +++ b/service/rspamd/Containerfile @@ -1,5 +1,5 @@ FROM docker.io/debian:bookworm-slim -ARG VERSION=3.7.1 +ARG VERSION=3.7.4 RUN apt-get update -y && apt-get install -y --no-install-recommends ca-certificates ADD --chown=_apt https://rspamd.com/apt-stable/gpg.key /etc/apt/trusted.gpg.d/rspamd.asc diff --git a/service/rspamd/quadlet/rspamd.container b/service/rspamd/quadlet/rspamd.container index b76c272..c5a90cd 100644 --- a/service/rspamd/quadlet/rspamd.container +++ b/service/rspamd/quadlet/rspamd.container @@ -4,10 +4,13 @@ Wants=container-build@%N.service container-volume@%N.service redis.service After=container-build@%N.service container-volume@%N.service redis.service [Container] +AutoUpdate=local ContainerName=%N EnvironmentFile=%E/coreos-home-server/%N/%N.env +HealthCmd=sh -c 'rspamadm control stat > /dev/null || exit 1' Image=localhost/%N:latest Network=internal +PodmanArgs=--sdnotify=healthy Volume=%N:/var/lib/%N:z [Service]