latest changes

This commit is contained in:
Joren de Graaf
2026-10-15 20:36:40 +02:00
parent 2733eb8b67
commit c64ebbdf28
72 changed files with 944 additions and 28 deletions
+11
View File
@@ -150,3 +150,14 @@ The service runs `/home/jorenmartijn/python/.venv-notifications/bin/python` with
project as its working directory. To keep the user timer running after logout,
run `sudo loginctl enable-linger jorenmartijn` once on the laptop. Check a run
with `journalctl --user -u send-pending-notifications.service -n 30`.
### Burst Listening watchdog
Run one shared `watch_burst_sessions` process alongside Django so a suspended PWA is
marked heartbeat-lost independently of browser JavaScript. A systemd user service
is provided at `deploy/systemd/watch-burst-sessions.service`; enable it for the
same user and Python environment as Django. `--once` is available for tests and
manual checks. A one-minute cron job cannot meet the 15-second timeout target.
For a user service: copy the unit to `~/.config/systemd/user/`, run
`systemctl --user daemon-reload`, then
`systemctl --user enable --now watch-burst-sessions.service`.