From 217b051c29cfbbf7542ec3ac8f4f562c5bcd84c9 Mon Sep 17 00:00:00 2001 From: Ednunp Date: Fri, 15 May 2026 17:24:30 +0100 Subject: [PATCH] =?UTF-8?q?server:=20update=20to=20v2.3=20=E2=80=94=20dual?= =?UTF-8?q?-protocol=20relay=20(v1=20pair=20+=20v2=20lobby)=20+=20auto-upd?= =?UTF-8?q?ater=20with=20EXIT=20trap=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/remsound-relay-update.timer | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 server/remsound-relay-update.timer diff --git a/server/remsound-relay-update.timer b/server/remsound-relay-update.timer new file mode 100644 index 0000000..f8ef231 --- /dev/null +++ b/server/remsound-relay-update.timer @@ -0,0 +1,16 @@ +[Unit] +Description=Periodic update check for remsound-relay + +[Timer] +# Fires 2 minutes after boot, then every hour, with a 10-minute random +# jitter so multiple relays don't all hit the GitHub API at the same +# instant. Persistent=true means missed runs (host was off) catch up on +# the next boot rather than silently skipping. +OnBootSec=2min +OnUnitActiveSec=1h +RandomizedDelaySec=10min +Persistent=true +Unit=remsound-relay-update.service + +[Install] +WantedBy=timers.target