summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpider.007 / Sjon2016-02-22 10:08:37 +0100
committerSpider.007 / Sjon2016-02-22 10:08:37 +0100
commit50d8ea9ce5c1f401e8b1622d4bc92e0a1355f157 (patch)
tree470e855a56a73df681592bcb937087fbdcc73766
parentb078655a020ec8488fe93de478fd81348ce9975f (diff)
downloadaur-50d8ea9ce5c1f401e8b1622d4bc92e0a1355f157.tar.gz
Allow persistent babel caching
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--kibana.service2
3 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index afb1bcccabcb..36616e3b5287 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Wed Feb 3 18:33:22 UTC 2016
+# Mon Feb 22 09:08:37 UTC 2016
pkgbase = kibana
pkgdesc = browser based analytics and search dashboard for Elasticsearch. Please note; this package replaces the distributed precompiled binary 'node'
pkgver = 4.4.0
- pkgrel = 1
+ pkgrel = 2
url = https://www.elastic.co/products/kibana
install = kibana.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index efe8e7240b20..36a982e010ff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Contributor: Spider.007 <archlinux AT spider007 DOT net>
pkgname=kibana
pkgver=4.4.0
-pkgrel=1
+pkgrel=2
pkgdesc="browser based analytics and search dashboard for Elasticsearch. Please note; this package replaces the distributed precompiled binary 'node'"
arch=('any')
url="https://www.elastic.co/products/kibana"
@@ -22,6 +22,8 @@ package() {
mkdir -p $pkgdir/usr/lib/kibana/
install -Dm644 "$srcdir/kibana.service" "$pkgdir/usr/lib/systemd/system/kibana.service"
install -Dm644 "config/kibana.yml" "$pkgdir/etc/elasticsearch/kibana/kibana.yml"
+ touch /tmp/.babelcache.json
+ install -Dm644 -o nobody /tmp/.babelcache.json $pkgdir/usr/lib/kibana/optimize/.babelcache.json
rm -R ./node/
chmod +r -R src/
diff --git a/kibana.service b/kibana.service
index a96100b58bfe..1f05e653e888 100644
--- a/kibana.service
+++ b/kibana.service
@@ -5,7 +5,7 @@ After=elasticsearch.service
[Service]
User=nobody
Group=elasticsearch
-Environment="NODE_ENV=production" "BABEL_CACHE_PATH=/tmp/kibana-babel-cache"
+Environment="NODE_ENV=production"
ExecStart=/usr/bin/node /usr/lib/kibana/src/cli --quiet --config=/etc/elasticsearch/kibana/kibana.yml
[Install]