From 142af72ebc9e1c2151101d6c3318ee48fdf00a87 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sun, 27 Sep 2026 13:13:05 +0200 Subject: feat(systemd): retry failed exporter runs Update the systemd service to restart the exporter on failure up to five times with a ten-minute delay between attempts. Update the systemd timer to use Persistent=true so missed daily runs are triggered after downtime, and remove network-online ordering from the timer. Keep network-online ordering on the service and remove the stale borg cache reference from its hardening comment. --- contrib/prometheus-pacman-exporter.timer | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'contrib/prometheus-pacman-exporter.timer') diff --git a/contrib/prometheus-pacman-exporter.timer b/contrib/prometheus-pacman-exporter.timer index 46afeea..5fa7b81 100644 --- a/contrib/prometheus-pacman-exporter.timer +++ b/contrib/prometheus-pacman-exporter.timer @@ -1,11 +1,10 @@ [Unit] Description=Run Pacman Prometheus metrics exporter daily -After=network-online.target -Wants=network-online.target [Timer] OnCalendar=daily AccuracySec=1h +Persistent=true [Install] WantedBy=timers.target -- cgit v1.3.1