mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-11 17:14:03 +01:00
Watches ~/data/*_binaries/feedback via systemd path units and files one MANUAL WORK REQUIRED task per complete bundle. Marker written only after the todo server accepts the task (fail closed, retried by the 5-min sweep). Stdlib only, 47 tests, 100% branch coverage. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzxdWXmfFFHX4fNhyFRqFq
16 lines
625 B
Desktop File
16 lines
625 B
Desktop File
[Unit]
|
|
Description=feedback-inbox: turn new game feedback bundles into todo tasks
|
|
Documentation=file:///home/kuhy/src/utils/feedback_inbox/README.md
|
|
# The .path unit fires on every write in a feedback folder; bursts (a bundle is
|
|
# written in pieces) must not trip the default start limit.
|
|
StartLimitIntervalSec=0
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
WorkingDirectory=/
|
|
# Waits up to 15 s for a half-written bundle to finish before leaving it to the
|
|
# timer. Exits non-zero when the todo server refuses, so the failure is visible.
|
|
ExecStart=%h/.local/share/feedback-inbox/venv/bin/feedback-inbox run --wait 15
|
|
Nice=10
|
|
TimeoutStartSec=2min
|