17 lines
504 B
SYSTEMD
17 lines
504 B
SYSTEMD
|
|
# homelab-deploy-runner.timer — poll for dispatched redeploy actions.
|
||
|
|
#
|
||
|
|
# 60s matches node-agent's CHECK_INTERVAL, so remediation latency is the same on
|
||
|
|
# both paths and well inside the executor's REDEPLOY_TIMEOUT_SECS (900).
|
||
|
|
# Overlapping runs are prevented by the runner's own flock, not by the timer.
|
||
|
|
[Unit]
|
||
|
|
Description=Poll for dispatched redeploy actions every minute
|
||
|
|
|
||
|
|
[Timer]
|
||
|
|
OnBootSec=2min
|
||
|
|
OnUnitActiveSec=60s
|
||
|
|
AccuracySec=15s
|
||
|
|
Unit=homelab-deploy-runner.service
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=timers.target
|