--- id: 77a62214-1fab-4bb6-864a-795c54cc6647 type: solution title: "Fixed systemd PATH for uv in cognitive memory services" tags: [cognitive-memory, systemd, uv, fix, path] importance: 0.7 confidence: 0.8 created: "2026-02-19T20:53:13.009559+00:00" updated: "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.