Skip to content

Commit

Permalink
[build] Add package log path
Browse files Browse the repository at this point in the history
  • Loading branch information
jbudz committed Jun 30, 2016
1 parent 55bd8c0 commit f781c80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/build/pleaserun.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default (grunt) => {
'--description', capitalize(name),
'--user', user,
'--group', group,
'--sysv-log-path', path.logs,
'--sysv-log-path', `${path.logs}/`,
'-p', service.name,
'-v', service.version,
path.kibanaBin,
Expand Down
2 changes: 2 additions & 0 deletions tasks/config/packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export default (grunt) => {
const FOLDER_CONFIG = '/etc/kibana';
const FOLDER_HOME = '/usr/share/kibana';
const FOLDER_DATA = '/var/lib/kibana';
const FOLDER_LOGS = '/var/log/kibana';
const FOLDER_PLUGINS = `${FOLDER_HOME}/installedPlugins`;

const FILE_KIBANA_CONF = `${FOLDER_CONFIG}/kibana.yml`;
Expand Down Expand Up @@ -46,6 +47,7 @@ export default (grunt) => {
conf: FOLDER_CONFIG,
data: FOLDER_DATA,
plugins: FOLDER_PLUGINS,
logs: FOLDER_LOGS,
home: FOLDER_HOME,
kibanaBin: FILE_KIBANA_BINARY,
kibanaConfig: FILE_KIBANA_CONF
Expand Down

0 comments on commit f781c80

Please sign in to comment.