mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
fix support for CONFIG_PATH env var
Kibana used to support passing the path to the config file via the CONFIG_PATH environment variable but support for that went away with the latest itteration of the server. This brings it back.
This commit is contained in:
parent
54d52cb274
commit
5e8de2a791
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ module.exports = function (program) {
|
|||
.option('-e, --elasticsearch <uri>', 'Elasticsearch instance')
|
||||
.option(
|
||||
'-c, --config <path>',
|
||||
'Path to the config file',
|
||||
fromRoot('config/kibana.yml'))
|
||||
'Path to the config file, can be changed with the CONFIG_PATH environment variable as well',
|
||||
process.env.CONFIG_PATH || fromRoot('config/kibana.yml'))
|
||||
.option('-p, --port <port>', 'The port to bind to', parseInt)
|
||||
.option('-q, --quiet', 'Prevent all logging except errors')
|
||||
.option('-Q, --silent', 'Prevent all logging')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue