mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-10 19:07:17 +01:00
Fail-closed: a failing source logs and adds 0 minutes; a bad key, ledger or registry exits 1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzxdWYcmik6APnHfc9gEVy
11 lines
282 B
Desktop File
11 lines
282 B
Desktop File
[Unit]
|
|
Description=focus_project: credit focus minutes to the signed ledger
|
|
# The .path unit fires on every activity line; bursts must not trip the limit.
|
|
StartLimitIntervalSec=0
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
WorkingDirectory=/
|
|
ExecStart=/usr/bin/python3 -m focus_project.harvest
|
|
Nice=10
|