feat(config): support KRONAI_CONFIG env var for config path #144
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
thwap/kronai!144
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/0104-kronai-config-env-var"
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?
What
Add
KRONAI_CONFIGenv var support toload_config(). Fix systemd docs to use--configflag instead of non-existentEnvironment=KRONAI_CONFIG.Why
Env var provides a convenient way to point to a non-default config. Docs fix ensures the systemd example works correctly.
Testing
Closes #104
a09f97cbbc393496681dAutomated Review — PR #144
Result: APPROVED
Two fixes in one: adds
KRONAI_CONFIGenv var support (read before_resolve_config_path, overridden by explicitpatharg), and fixes systemd docs to use--configflag instead of non-functionalEnvironment=KRONAI_CONFIG. Closes #104.No suggestions.
393496681dd99b4b6e6ad99b4b6e6ac244004c3bc244004c3b6ae7d85a6c