diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
commit | 93a93e9a3b53c1a73142a305ea1f8136846942ee (patch) | |
tree | b9791a06ab3284e27b568412c59316c66240c682 /www-apps/kibana-bin/files | |
parent | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (diff) |
gentoo resync : 22.12.2021
Diffstat (limited to 'www-apps/kibana-bin/files')
-rw-r--r-- | www-apps/kibana-bin/files/kibana.initd-r1 | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/www-apps/kibana-bin/files/kibana.initd-r1 b/www-apps/kibana-bin/files/kibana.initd-r1 index 124cb683c939..51502367e039 100644 --- a/www-apps/kibana-bin/files/kibana.initd-r1 +++ b/www-apps/kibana-bin/files/kibana.initd-r1 @@ -11,12 +11,12 @@ KIBANA_LOG_DIR="${KIBANA_LOG_DIR:-/var/log/kibana}" command="/opt/kibana/bin/kibana" command_args="--elasticsearch ${ES_INSTANCE} --config ${KIBANA_CONFIG} --path.data=${KIBANA_DATA_DIR}" +command_background="true" command_user="${KIBANA_USER}" error_log="${KIBANA_LOG_DIR}/kibana.err" output_log="${KIBANA_LOG_DIR}/kibana.log" - pidfile="/run/${RC_SVCNAME}.pid" -command_background="true" +retry="60" start_stop_daemon_args="--env BABEL_CACHE_PATH=${KIBANA_BABEL_CACHE_PATH}" start_pre() { @@ -24,10 +24,3 @@ start_pre() { checkpath -d -o "${KIBANA_USER}" -m750 "${KIBANA_DATA_DIR}" checkpath -d -o "${KIBANA_USER}" -m750 "${KIBANA_LOG_DIR}" } - -stop() { - ebegin "Stopping ${SVCNAME}" - - pkill -P $(cat "${pidfile}") - pwait -F "${pidfile}" -} |