Align documented config default path with deployment path #15
Labels
No labels
dep-scan
dep-scan
dep-scan
dep-scan
dep-scan
dep-scan
dep-scan
dep-scan
dep-scan
dep-scan/ignore
dep-scan/ignore
dep-scan/ignore
dep-scan/ignore
dep-scan/ignore
dep-scan/ignore
dep-scan/ignore
dep-scan/ignore
dep-scan/ignore
finding
mod-nag
mod-nag
mod-nag
mod-nag
mod-nag/ignore
mod-nag/ignore
mod-nag/ignore
mod-nag/ignore
bug
doc
duplicate
enhancement
help wanted
invalid
question
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
IUS/xr-invoiced#15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The code defaults to
/etc/xrechnung-scanner/, while the systemd deployment uses/etc/xr-invoiced/config.yamlexplicitly.References:
internal/config/config.go:41doc/admin.md:66CLAUDE.md:23deploy/xr-invoiced.service:11This is confusing for manual runs and documentation, because the project and service name now use
xr-invoiced.Expected
Default config path and docs should consistently describe the intended path, or docs should clearly state that systemd passes a non-default
--configpath.Suggested fix
Change the default config search path to
/etc/xr-invoiced/or update docs to distinguish legacy/default search path from the deployment path.Branch renamed per convention:
Old: regression/issue-15-config-path-docs
New: fix/15-config-path-docs
The old remote branch has been deleted.
Fix branch pushed: fix/15-config-path-docs-claude
Replaces /etc/xrechnung-scanner/ with /etc/xr-invoiced/ in config.go, doc/admin.md, and adds CLAUDE.md to git with the corrected path. Regression test passes.
Implementation branch: fix/15-config-path-docs-codex
Fixed in
5c512f4and merged byfe28af9. The documented and configured default path now uses /etc/xr-invoiced/config.yaml, and config_path_docs_regression_test.go covers the alignment.