utils/focus_project/systemd/focus-project-harvest.service
Krzysztof kuhy Rudnicki 6d80efb50a focus_project: minutes, ledger, harvester
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
2026-11-02 08:19:01 +01:00

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