From 8170a587c92a2f18a542c8be0094104de894a96e Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Mar 24 2024 23:58:01 +0000 Subject: Merge branch 'crameleon/postfix-metrics-start' into 'production' Start postfix-queue-size-metrics with postfix See merge request infra/salt!1599 --- diff --git a/salt/profile/postfix/files/etc/systemd/system/postfix-queue-size-metrics.timer.j2 b/salt/profile/postfix/files/etc/systemd/system/postfix-queue-size-metrics.timer.j2 index beeb531..38b8903 100644 --- a/salt/profile/postfix/files/etc/systemd/system/postfix-queue-size-metrics.timer.j2 +++ b/salt/profile/postfix/files/etc/systemd/system/postfix-queue-size-metrics.timer.j2 @@ -1,6 +1,7 @@ {{ pillar['managed_by_salt'] }} [Unit] +After=postfix.service BindsTo=postfix.service [Timer] @@ -8,4 +9,4 @@ OnCalendar=*:0/5 AccuracySec=1us [Install] -WantedBy=timers.target +WantedBy=postfix.service