Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
Right now the config path is set to /etc/qpid-dispatch/... in every instance, and the user needs to override it.
For checkouts and other alternate installs, I propose that instead we look to see if QPID_DISPATCH_HOME is set, and if so load config from QPID_DISPATCH_HOME/etc.
If we then change QPID_DISPATCH_HOME to be the dispatch build dir, where the configured files land by convention, we'll have an instance that can run without extra args.
- Load config from QPID_DISPATCH_HOME/etc if QDH is set; otherwise, use /etc/qpid-dispatch/...
- Change the config.sh QPID_DISPATCH_HOME to $(pwd)/build
This additionally helps with home-dir installs.