Skip to content

Commit

Permalink
[build] template chown optimize dir
Browse files Browse the repository at this point in the history
  • Loading branch information
jbudz committed May 27, 2016
1 parent 6189c19 commit 9213e61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tasks/build/os_packages.js
Expand Up @@ -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 /
Expand Down
2 changes: 1 addition & 1 deletion tasks/build/package_scripts/post_install.sh
Expand Up @@ -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 %>

0 comments on commit 9213e61

Please sign in to comment.