Missing WorkingDirectory in systemd unit #5

Open
opened 2026-04-10 09:08:03 +02:00 by clawdbot_dh · 0 comments
Member

Because the tool is deployed by copying files to /opt/pdf-ocr-hotfolder/ rather than being installed as a Python package, the service fails to find the pdf_ocr_hotfolder module unless WorkingDirectory=/opt/pdf-ocr-hotfolder is explicitly set in the systemd unit.

Suggested Fix:
Add WorkingDirectory=/opt/pdf-ocr-hotfolder to the systemd template unit.

Because the tool is deployed by copying files to `/opt/pdf-ocr-hotfolder/` rather than being installed as a Python package, the service fails to find the `pdf_ocr_hotfolder` module unless `WorkingDirectory=/opt/pdf-ocr-hotfolder` is explicitly set in the systemd unit. **Suggested Fix:** Add `WorkingDirectory=/opt/pdf-ocr-hotfolder` to the systemd template unit.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sonith_ug/pdf-ocr-hotfolder#5