diff --git a/tasks/build/pleaserun.js b/tasks/build/pleaserun.js index 33777b9991485..ee608228bdd1c 100644 --- a/tasks/build/pleaserun.js +++ b/tasks/build/pleaserun.js @@ -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 diff --git a/tasks/config/packages.js b/tasks/config/packages.js index d7fa93c4f62f5..2aa45957ec4cc 100644 --- a/tasks/config/packages.js +++ b/tasks/config/packages.js @@ -15,6 +15,7 @@ export default (grunt) => { const FOLDER_CONFIG = '/opt/kibana/config'; const FOLDER_HOME = '/opt/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`; @@ -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