diff --git a/tasks/build/pleaserun.js b/tasks/build/pleaserun.js index adb9af1868215..58c51238d23c4 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 1c6aef8c2934c..f6876bfee685c 100644 --- a/tasks/config/packages.js +++ b/tasks/config/packages.js @@ -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`; @@ -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