testsAndMisc/python_pkg/screen_locker/workout-locker.timer
Krzysztof kuhy Rudnicki ead6072eee refactor: remove manual workout forms, ADB-only verification + sick mode
- Remove _workout_forms.py and all manual running/strength workout forms
- Verification is now ADB-only: phone check → verified (unlock) | failed (retry + sick mode)
- Add systemd timer (workout-locker.timer) for periodic 15min checks
- Fix service unit: add PYTHONPATH, WorkingDirectory, use -m invocation
- Update install/remove scripts for timer support
- Remove form-related constants, tests, and conftest helpers
- 127 tests, 100% branch coverage maintained
2026-03-27 15:54:01 +01:00

11 lines
159 B
SYSTEMD

[Unit]
Description=Periodically check if workout was done today
[Timer]
OnBootSec=30s
OnUnitActiveSec=15min
Persistent=true
[Install]
WantedBy=timers.target