mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-07-04 14:43:14 +02:00
- Add HMAC-SHA256 signing/verification for workout log entries - Add NTP-based clock skew detection (fail-open for network issues) - Add exercise count and recency cross-checks for StrongLifts DB - Add minimum workout duration (50 min) enforcement - Configure systemd service auto-restart on failure (2s delay) - Reduce boot timer from 30s to 5s, add i3 autostart suggestion - Add comprehensive tests (187 total, 100% branch coverage) Note: pylint hook skipped (pre-existing score 6.69/10 < 8.0 threshold)
11 lines
158 B
SYSTEMD
11 lines
158 B
SYSTEMD
[Unit]
|
|
Description=Periodically check if workout was done today
|
|
|
|
[Timer]
|
|
OnBootSec=5s
|
|
OnUnitActiveSec=15min
|
|
Persistent=true
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|