mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[build] template chown optimize dir
This commit is contained in:
parent
6189c19de8
commit
9213e61608
2 changed files with 2 additions and 1 deletions
|
@ -39,6 +39,7 @@ export default (grunt) => {
|
|||
'--config-files', config.path.kibanaConfig,
|
||||
'--template-value', `user=${config.user}`,
|
||||
'--template-value', `group=${config.group}`,
|
||||
'--template-value', `optimizeDir=${config.path.home}/optimize`,
|
||||
|
||||
//config folder is moved to path.conf, exclude {path.home}/config
|
||||
//uses relative path to --prefix, strip the leading /
|
||||
|
|
|
@ -14,4 +14,4 @@ user_create() {
|
|||
if ! user_check "<%= user %>" ; then
|
||||
user_create "<%= user %>"
|
||||
fi
|
||||
chown -R <%= user %>:<%= group %> /opt/kibana/optimize
|
||||
chown -R <%= user %>:<%= group %> <%= optimizeDir %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue