Skip to content

Commit

Permalink
chore(NA): use env var to point config folder on os_packages built wi…
Browse files Browse the repository at this point in the history
…th fpm (#67433)

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
mistic and elasticmachine authored May 30, 2020
1 parent 3990287 commit d0aeadf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core/server/path/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ const CONFIG_PATHS = [
process.env.KIBANA_PATH_CONF && join(process.env.KIBANA_PATH_CONF, 'kibana.yml'),
process.env.CONFIG_PATH, // deprecated
fromRoot('config/kibana.yml'),
'/etc/kibana/kibana.yml',
].filter(isString);

const DATA_PATHS = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ nice=""
KILL_ON_STOP_TIMEOUT=0

BABEL_CACHE_PATH="/var/lib/kibana/optimize/.babel_register_cache.json"

KIBANA_PATH_CONF="/etc/kibana"
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pidfile="/var/run/$name.pid"
[ -r /etc/default/$name ] && . /etc/default/$name
[ -r /etc/sysconfig/$name ] && . /etc/sysconfig/$name

export KIBANA_PATH_CONF
export NODE_OPTIONS

[ -z "$nice" ] && nice=0
Expand Down

0 comments on commit d0aeadf

Please sign in to comment.