claude-memory/graph/solutions/fixed-systemd-path-for-uv-in-cognitive-memory-services-77a622.md

814 B

id type title tags importance confidence created updated
77a62214-1fab-4bb6-864a-795c54cc6647 solution Fixed systemd PATH for uv in cognitive memory services
cognitive-memory
systemd
uv
fix
path
0.7 0.8 2026-02-19T20:53:13.009559+00:00 2026-02-19T20:53:13.009559+00:00

Both cognitive-memory-daily.service and cognitive-memory-embed.service failed with uv: not found because systemd user services don't load ~/.bashrc or ~/.zshrc. The claude-memory wrapper script uses exec uv run python client.py and uv lives at /home/cal/.local/bin/uv. Fix: wrap ExecStart in bash with explicit PATH export: ExecStart=/bin/bash -c 'export PATH="/home/cal/.local/bin:$PATH" && /home/cal/.local/bin/claude-memory embed --if-changed'. This was likely causing the daily timer to silently fail too.