mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-11-11 21:53:54 +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
16 lines
766 B
Desktop File
16 lines
766 B
Desktop File
[Unit]
|
|
Description=Back up and uninstall the stock RunnerUp app a week after the workout app's first credited run
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
# screen_locker is pip-installed (editable), like workout-sync.service, so no
|
|
# WorkingDirectory/PYTHONPATH. Headless: no DISPLAY, no Tk, no lock screen.
|
|
#
|
|
# Exit 0 for "not due yet", "no app run credited yet" and "phone not attached"
|
|
# (the timer retries), non-zero when a human is needed: invalid import marker,
|
|
# adb missing, a failed backup or a refused uninstall. That shows up in
|
|
# `systemctl --user --failed`. Every skip says why in the journal:
|
|
# journalctl --user -u runnerup-retire
|
|
# State and the anchor: python3 -m screen_locker.runnerup_retire --status
|
|
ExecStart=/usr/bin/python3 -m screen_locker.runnerup_retire
|