mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-11-11 20:53:55 +01:00
Daily timer (+10 min after boot) running the retirement, installed and removed with the other screen-locker units; README section. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzxdWZ9CKZsNxtD5Jr9bYD
19 lines
706 B
SYSTEMD
19 lines
706 B
SYSTEMD
[Unit]
|
|
Description=Retry the RunnerUp retirement daily until the phone has been cleaned up
|
|
|
|
# No After=graphical-session.target: timers.target is ordered before it, and
|
|
# that After= closes a cycle systemd resolves by deleting this timer's job
|
|
# (see early-bird-workout-check.timer for the 2026-08-04 incident).
|
|
|
|
[Timer]
|
|
# The phone is not always on USB, so a failed or skipped pass is simply tried
|
|
# again: shortly after boot and once a day. Most passes are an instant no-op
|
|
# (not due yet, or already done), so the timer stays installed.
|
|
OnBootSec=10min
|
|
OnCalendar=*-*-* 19:00:00
|
|
# Persistent=true: a PC that was off at 19:00 still gets that day's pass.
|
|
Persistent=true
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|