diff options
author | Tomas Mozes <hydrapolic@gmail.com> | 2015-12-22 15:58:24 +0100 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2015-12-22 23:12:15 +0800 |
commit | 7ca4f146a8eb2c657624a2946dce15fded62a6da (patch) | |
tree | 4b44a037b7481fa1a154c0a82627e1b26495d751 /www-apps/kibana-bin/files | |
parent | www-apps/kibana-bin: bump to 4.1.4, fixes bug #567934 (diff) | |
download | gentoo-7ca4f146a8eb2c657624a2946dce15fded62a6da.tar.gz gentoo-7ca4f146a8eb2c657624a2946dce15fded62a6da.tar.bz2 gentoo-7ca4f146a8eb2c657624a2946dce15fded62a6da.zip |
www-apps/kibana-bin: bump to 4.3.1, fixes bug #564606
Package-Manager: portage-2.2.26
Diffstat (limited to 'www-apps/kibana-bin/files')
-rw-r--r-- | www-apps/kibana-bin/files/kibana.initd-r3 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/www-apps/kibana-bin/files/kibana.initd-r3 b/www-apps/kibana-bin/files/kibana.initd-r3 new file mode 100644 index 000000000000..3eceb5f007e6 --- /dev/null +++ b/www-apps/kibana-bin/files/kibana.initd-r3 @@ -0,0 +1,18 @@ +#!/sbin/openrc-run +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +KIBANA_USER=${KIBANA_USER:-kibana} +KIBANA_CONFIG=${KIBANA_CONFIG:-/etc/kibana/kibana.yml} + +command="/opt/kibana/bin/kibana" +command_args="--elasticsearch ${ES_INSTANCE} --config ${KIBANA_CONFIG}" + +pidfile="/run/kibana.pid" +command_background="true" +start_stop_daemon_args="--user=\"${KIBANA_USER}\" --stdout /var/log/kibana/kibana.log --stderr /var/log/kibana/kibana.err" + +start_pre() { + checkpath -d -o "${KIBANA_USER}" -m750 "/var/log/kibana" + checkpath -f -o "${KIBANA_USER}" -m644 "/opt/kibana/optimize/.babelcache.json" +} |