Prioritize environmnt variable config location over default, Fix #5631
Prioritize `-c` over environment variable config
Use default from DEFAULT_MASTER_OPTS instead of hard-coding
Merge pull request #5663 from basepi/envconfig5631

Prioritize environmnt variable config location over default, Fix #5631