[arch-commits] Commit in elasticsearch/repos/community-any (20 files)

Massimiliano Torromeo mtorromeo at archlinux.org
Wed Jul 11 11:35:07 UTC 2018


    Date: Wednesday, July 11, 2018 @ 11:35:07
  Author: mtorromeo
Revision: 357295

archrelease: copy trunk to community-any

Added:
  elasticsearch/repos/community-any/PKGBUILD
    (from rev 357294, elasticsearch/trunk/PKGBUILD)
  elasticsearch/repos/community-any/elasticsearch-env
    (from rev 357294, elasticsearch/trunk/elasticsearch-env)
  elasticsearch/repos/community-any/elasticsearch-keystore.service
    (from rev 357294, elasticsearch/trunk/elasticsearch-keystore.service)
  elasticsearch/repos/community-any/elasticsearch-keystore at .service
    (from rev 357294, elasticsearch/trunk/elasticsearch-keystore at .service)
  elasticsearch/repos/community-any/elasticsearch-sysctl.conf
    (from rev 357294, elasticsearch/trunk/elasticsearch-sysctl.conf)
  elasticsearch/repos/community-any/elasticsearch-tmpfile.conf
    (from rev 357294, elasticsearch/trunk/elasticsearch-tmpfile.conf)
  elasticsearch/repos/community-any/elasticsearch-user.conf
    (from rev 357294, elasticsearch/trunk/elasticsearch-user.conf)
  elasticsearch/repos/community-any/elasticsearch.default
    (from rev 357294, elasticsearch/trunk/elasticsearch.default)
  elasticsearch/repos/community-any/elasticsearch.service
    (from rev 357294, elasticsearch/trunk/elasticsearch.service)
  elasticsearch/repos/community-any/elasticsearch at .service
    (from rev 357294, elasticsearch/trunk/elasticsearch at .service)
Deleted:
  elasticsearch/repos/community-any/PKGBUILD
  elasticsearch/repos/community-any/elasticsearch-env
  elasticsearch/repos/community-any/elasticsearch-keystore.service
  elasticsearch/repos/community-any/elasticsearch-keystore at .service
  elasticsearch/repos/community-any/elasticsearch-sysctl.conf
  elasticsearch/repos/community-any/elasticsearch-tmpfile.conf
  elasticsearch/repos/community-any/elasticsearch-user.conf
  elasticsearch/repos/community-any/elasticsearch.default
  elasticsearch/repos/community-any/elasticsearch.service
  elasticsearch/repos/community-any/elasticsearch at .service

---------------------------------+
 PKGBUILD                        |  174 +++++++++++++++++++-------------------
 elasticsearch-env               |  100 ++++++++++-----------
 elasticsearch-keystore.service  |   20 ++--
 elasticsearch-keystore at .service |   22 ++--
 elasticsearch-sysctl.conf       |    2 
 elasticsearch-tmpfile.conf      |   12 +-
 elasticsearch-user.conf         |    2 
 elasticsearch.default           |   26 ++---
 elasticsearch.service           |   80 ++++++++---------
 elasticsearch at .service          |   80 ++++++++---------
 10 files changed, 260 insertions(+), 258 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-11 11:34:47 UTC (rev 357294)
+++ PKGBUILD	2018-07-11 11:35:07 UTC (rev 357295)
@@ -1,86 +0,0 @@
-# $Id$
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Contributor: Marcello "mererghost" Rocha <https://github.com/mereghost>
-# Refactored by Blaž "Speed" Hrastnik <https://github.com/archSeer>
-
-pkgname=elasticsearch
-pkgver=6.3.0
-pkgrel=1
-pkgdesc="Distributed RESTful search engine built on top of Lucene"
-arch=('any')
-url="https://www.elastic.co/products/elasticsearch"
-license=('APACHE')
-depends=('java-runtime-headless' 'systemd')
-source=(
-  "https://artifacts.elastic.co/downloads/$pkgname/$pkgname-$pkgver.tar.gz"
-  elasticsearch-env
-  elasticsearch.service
-  elasticsearch at .service
-  elasticsearch-keystore.service
-  elasticsearch-keystore at .service
-  elasticsearch-sysctl.conf
-  elasticsearch-user.conf
-  elasticsearch-tmpfile.conf
-  elasticsearch.default
-)
-sha256sums=('0464127140820d82b24bd2830232131ea85bcd49267a8bc7365e4fa391dee2a3'
-            '65ee972c14da242f757507030de134ed6869126d220292c49a883997de7d2c11'
-            'de3842935b6ef9cb8a05dc18334112f534dccc2292e36052df942a92de7e66db'
-            '13090c1d23ae0a21bf6f0f1d1da795d38972f1674b20c3d2d32f54311aa99094'
-            'bac40d87acaa5bee209ceb6dfa253009a072e9243fe3b94be42fb5cd44727d6f'
-            '22a78a165a810608188faea6f2b0b381f27b1e9d60126c3b3e729124540589a8'
-            'b3feb1e9c7e7ce6b33cea6c727728ed700332aae942ca475c3bcc1d56b9f113c'
-            '815f6a39db6f54bb40750c382ffbdc298d2c4c187ee8ea7e2f855923e2ff354b'
-            '3173e3efa429507e6329f518699a072dfd442d9b5da7c62452a55f82334dd2b5'
-            'bb74e5fb8bc28f2125e015395ab05bea117b72bfc6dadbca827694b362ee0bf8')
-
-backup=('etc/elasticsearch/elasticsearch.yml'
-        'etc/elasticsearch/log4j2.properties'
-        'etc/elasticsearch/jvm.options'
-        'etc/default/elasticsearch')
-
-prepare() {
-  cd "$srcdir"/$pkgname-$pkgver
-
-  find bin -type f ! -name \*.bat ! -name \*.jar ! -name \*.exe -exec \
-    sed -r 's;source .*/(.*)-env;source /usr/share/elasticsearch/\1-env;' -i {} +
-}
-
-package() {
-  cd "$pkgdir"
-  install -dm750 etc/elasticsearch/scripts
-  install -dm755 {usr/share,var/lib,var/log}/elasticsearch
-  install -dm755 usr/bin
-
-  cd "$srcdir"/$pkgname-$pkgver
-  find bin -type f \( -name \*.bat -o -name \*.exe \) -delete
-  find bin -type f \( -name \*.jar -o -name \*-env \) -exec chmod a-x {} +
-  rm -rf modules/x-pack/x-pack-ml/platform/{darwin,windows}-*
-  cp -R bin lib modules plugins "$pkgdir"/usr/share/elasticsearch/
-
-  cd config
-  for conf in *; do
-    install -Dm644 "$conf" "$pkgdir/etc/elasticsearch/$conf"
-  done
-  cd ..
-
-  for script in elasticsearch{-keystore,-plugin,-sql-cli}; do
-    ln -s ../share/elasticsearch/bin/$script "$pkgdir"/usr/bin/$script
-  done
-
-  cd "$pkgdir"/usr/share/elasticsearch
-  ln -s ../../../var/log/elasticsearch logs
-  ln -s ../../../var/lib/elasticsearch data
-  mv bin/*-env .
-
-  cd "$pkgdir"
-  install -Dm644 "$srcdir"/elasticsearch-env usr/share/elasticsearch/elasticsearch-env
-  install -Dm644 "$srcdir"/elasticsearch.service usr/lib/systemd/system/elasticsearch.service
-  install -Dm644 "$srcdir"/elasticsearch at .service usr/lib/systemd/system/elasticsearch at .service
-  install -Dm644 "$srcdir"/elasticsearch-keystore.service usr/lib/systemd/system/elasticsearch-keystore.service
-  install -Dm644 "$srcdir"/elasticsearch-keystore at .service usr/lib/systemd/system/elasticsearch-keystore at .service
-  install -Dm644 "$srcdir"/elasticsearch-user.conf usr/lib/sysusers.d/elasticsearch.conf
-  install -Dm644 "$srcdir"/elasticsearch-tmpfile.conf usr/lib/tmpfiles.d/elasticsearch.conf
-  install -Dm644 "$srcdir"/elasticsearch-sysctl.conf usr/lib/sysctl.d/elasticsearch.conf
-  install -Dm644 "$srcdir"/elasticsearch.default etc/default/elasticsearch
-}

Copied: elasticsearch/repos/community-any/PKGBUILD (from rev 357294, elasticsearch/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-07-11 11:35:07 UTC (rev 357295)
@@ -0,0 +1,88 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Marcello "mererghost" Rocha <https://github.com/mereghost>
+# Refactored by Blaž "Speed" Hrastnik <https://github.com/archSeer>
+
+pkgname=elasticsearch
+pkgver=6.3.1
+pkgrel=1
+pkgdesc="Distributed RESTful search engine built on top of Lucene"
+arch=('any')
+url="https://www.elastic.co/products/elasticsearch"
+license=('APACHE')
+depends=('java-runtime-headless' 'systemd')
+source=(
+  "https://artifacts.elastic.co/downloads/$pkgname/$pkgname-$pkgver.tar.gz"
+  elasticsearch-env
+  elasticsearch.service
+  elasticsearch at .service
+  elasticsearch-keystore.service
+  elasticsearch-keystore at .service
+  elasticsearch-sysctl.conf
+  elasticsearch-user.conf
+  elasticsearch-tmpfile.conf
+  elasticsearch.default
+)
+sha256sums=('0b4d1c3c66894c9bf54284b53c1448d0e6def89a09c9fe4446e7167e51b8040e'
+            '65ee972c14da242f757507030de134ed6869126d220292c49a883997de7d2c11'
+            'de3842935b6ef9cb8a05dc18334112f534dccc2292e36052df942a92de7e66db'
+            '13090c1d23ae0a21bf6f0f1d1da795d38972f1674b20c3d2d32f54311aa99094'
+            'bac40d87acaa5bee209ceb6dfa253009a072e9243fe3b94be42fb5cd44727d6f'
+            '22a78a165a810608188faea6f2b0b381f27b1e9d60126c3b3e729124540589a8'
+            'b3feb1e9c7e7ce6b33cea6c727728ed700332aae942ca475c3bcc1d56b9f113c'
+            '815f6a39db6f54bb40750c382ffbdc298d2c4c187ee8ea7e2f855923e2ff354b'
+            '3173e3efa429507e6329f518699a072dfd442d9b5da7c62452a55f82334dd2b5'
+            'bb74e5fb8bc28f2125e015395ab05bea117b72bfc6dadbca827694b362ee0bf8')
+
+backup=('etc/elasticsearch/elasticsearch.yml'
+        'etc/elasticsearch/log4j2.properties'
+        'etc/elasticsearch/jvm.options'
+        'etc/default/elasticsearch')
+
+prepare() {
+  cd "$srcdir"/$pkgname-$pkgver
+
+  find bin -type f ! -name \*.bat ! -name \*.jar ! -name \*.exe -exec \
+    sed -r 's;source .*/(.*)-env;source /usr/share/elasticsearch/\1-env;' -i {} +
+}
+
+package() {
+  cd "$pkgdir"
+  install -dm750 etc/elasticsearch/scripts
+  install -dm755 {usr/share,var/lib,var/log}/elasticsearch
+  install -dm755 usr/bin
+
+  cd "$srcdir"/$pkgname-$pkgver
+  find bin -type f \( -name \*.bat -o -name \*.exe \) -delete
+  find bin -type f \( -name \*.jar -o -name \*-env \) -exec chmod a-x {} +
+  rm -rf modules/x-pack/x-pack-ml/platform/{darwin,windows}-*
+  cp -R bin lib modules plugins "$pkgdir"/usr/share/elasticsearch/
+
+  cd config
+  for conf in *; do
+    install -Dm644 "$conf" "$pkgdir/etc/elasticsearch/$conf"
+  done
+  cd ..
+
+  for script in elasticsearch{-keystore,-plugin,-sql-cli}; do
+    ln -s ../share/elasticsearch/bin/$script "$pkgdir"/usr/bin/$script
+  done
+
+  cd "$pkgdir"/usr/share/elasticsearch
+  ln -s ../../../var/log/elasticsearch logs
+  ln -s ../../../var/lib/elasticsearch data
+  mv bin/*-env .
+
+  cd "$pkgdir"
+  install -Dm644 "$srcdir"/elasticsearch-env usr/share/elasticsearch/elasticsearch-env
+  install -Dm644 "$srcdir"/elasticsearch.service usr/lib/systemd/system/elasticsearch.service
+  install -Dm644 "$srcdir"/elasticsearch at .service usr/lib/systemd/system/elasticsearch at .service
+  install -Dm644 "$srcdir"/elasticsearch-keystore.service usr/lib/systemd/system/elasticsearch-keystore.service
+  install -Dm644 "$srcdir"/elasticsearch-keystore at .service usr/lib/systemd/system/elasticsearch-keystore at .service
+  install -Dm644 "$srcdir"/elasticsearch-user.conf usr/lib/sysusers.d/elasticsearch.conf
+  install -Dm644 "$srcdir"/elasticsearch-tmpfile.conf usr/lib/tmpfiles.d/elasticsearch.conf
+  install -Dm644 "$srcdir"/elasticsearch-sysctl.conf usr/lib/sysctl.d/elasticsearch.conf
+  install -Dm644 "$srcdir"/elasticsearch.default etc/default/elasticsearch
+
+  ln -s ../share/logstash/bin/logstash "$pkgdir"/usr/bin/logstash
+}

Deleted: elasticsearch-env
===================================================================
--- elasticsearch-env	2018-07-11 11:34:47 UTC (rev 357294)
+++ elasticsearch-env	2018-07-11 11:35:07 UTC (rev 357295)
@@ -1,50 +0,0 @@
-#!/bin/bash
-
-set -e -o pipefail
-
-ES_HOME=/usr/share/elasticsearch
-
-# now set the classpath
-ES_CLASSPATH="$ES_HOME/lib/*"
-
-# now set the path to java
-if [ -x "$JAVA_HOME/bin/java" ]; then
-  JAVA="$JAVA_HOME/bin/java"
-else
-  set +e
-  JAVA=`which java`
-  set -e
-fi
-
-if [ ! -x "$JAVA" ]; then
-  echo "could not find java; set JAVA_HOME or ensure java is in PATH"
-  exit 1
-fi
-
-# do not let JAVA_TOOL_OPTIONS slip in (as the JVM does by default)
-if [ ! -z "$JAVA_TOOL_OPTIONS" ]; then
-  echo "warning: ignoring JAVA_TOOL_OPTIONS=$JAVA_TOOL_OPTIONS"
-  unset JAVA_TOOL_OPTIONS
-fi
-
-# JAVA_OPTS is not a built-in JVM mechanism but some people think it is so we
-# warn them that we are not observing the value of $JAVA_OPTS
-if [ ! -z "$JAVA_OPTS" ]; then
-  echo -n "warning: ignoring JAVA_OPTS=$JAVA_OPTS; "
-  echo "pass JVM parameters via ES_JAVA_OPTS"
-fi
-
-# check the Java version
-"$JAVA" -cp "$ES_CLASSPATH" org.elasticsearch.tools.launchers.JavaVersionChecker
-
-export HOSTNAME=$HOSTNAME
-
-if [ -z "$ES_PATH_CONF" ]; then ES_PATH_CONF=/etc/elasticsearch; fi
-
-if [ -z "$ES_PATH_CONF" ]; then
-  echo "ES_PATH_CONF must be set to the configuration path"
-  exit 1
-fi
-
-ES_DISTRIBUTION_FLAVOR=default
-ES_DISTRIBUTION_TYPE=tar

Copied: elasticsearch/repos/community-any/elasticsearch-env (from rev 357294, elasticsearch/trunk/elasticsearch-env)
===================================================================
--- elasticsearch-env	                        (rev 0)
+++ elasticsearch-env	2018-07-11 11:35:07 UTC (rev 357295)
@@ -0,0 +1,50 @@
+#!/bin/bash
+
+set -e -o pipefail
+
+ES_HOME=/usr/share/elasticsearch
+
+# now set the classpath
+ES_CLASSPATH="$ES_HOME/lib/*"
+
+# now set the path to java
+if [ -x "$JAVA_HOME/bin/java" ]; then
+  JAVA="$JAVA_HOME/bin/java"
+else
+  set +e
+  JAVA=`which java`
+  set -e
+fi
+
+if [ ! -x "$JAVA" ]; then
+  echo "could not find java; set JAVA_HOME or ensure java is in PATH"
+  exit 1
+fi
+
+# do not let JAVA_TOOL_OPTIONS slip in (as the JVM does by default)
+if [ ! -z "$JAVA_TOOL_OPTIONS" ]; then
+  echo "warning: ignoring JAVA_TOOL_OPTIONS=$JAVA_TOOL_OPTIONS"
+  unset JAVA_TOOL_OPTIONS
+fi
+
+# JAVA_OPTS is not a built-in JVM mechanism but some people think it is so we
+# warn them that we are not observing the value of $JAVA_OPTS
+if [ ! -z "$JAVA_OPTS" ]; then
+  echo -n "warning: ignoring JAVA_OPTS=$JAVA_OPTS; "
+  echo "pass JVM parameters via ES_JAVA_OPTS"
+fi
+
+# check the Java version
+"$JAVA" -cp "$ES_CLASSPATH" org.elasticsearch.tools.launchers.JavaVersionChecker
+
+export HOSTNAME=$HOSTNAME
+
+if [ -z "$ES_PATH_CONF" ]; then ES_PATH_CONF=/etc/elasticsearch; fi
+
+if [ -z "$ES_PATH_CONF" ]; then
+  echo "ES_PATH_CONF must be set to the configuration path"
+  exit 1
+fi
+
+ES_DISTRIBUTION_FLAVOR=default
+ES_DISTRIBUTION_TYPE=tar

Deleted: elasticsearch-keystore.service
===================================================================
--- elasticsearch-keystore.service	2018-07-11 11:34:47 UTC (rev 357294)
+++ elasticsearch-keystore.service	2018-07-11 11:35:07 UTC (rev 357295)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Elasticsearch Keystore Generation
-ConditionPathExists=|!/etc/elasticsearch/elasticsearch.keystore
-
-[Service]
-Type=oneshot
-Group=elasticsearch
-UMask=0007
-ExecStart=/usr/share/elasticsearch/bin/elasticsearch-keystore create
-RemainAfterExit=yes

Copied: elasticsearch/repos/community-any/elasticsearch-keystore.service (from rev 357294, elasticsearch/trunk/elasticsearch-keystore.service)
===================================================================
--- elasticsearch-keystore.service	                        (rev 0)
+++ elasticsearch-keystore.service	2018-07-11 11:35:07 UTC (rev 357295)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Elasticsearch Keystore Generation
+ConditionPathExists=|!/etc/elasticsearch/elasticsearch.keystore
+
+[Service]
+Type=oneshot
+Group=elasticsearch
+UMask=0007
+ExecStart=/usr/share/elasticsearch/bin/elasticsearch-keystore create
+RemainAfterExit=yes

Deleted: elasticsearch-keystore at .service
===================================================================
--- elasticsearch-keystore at .service	2018-07-11 11:34:47 UTC (rev 357294)
+++ elasticsearch-keystore at .service	2018-07-11 11:35:07 UTC (rev 357295)
@@ -1,11 +0,0 @@
-[Unit]
-Description=Elasticsearch Keystore Generation
-ConditionPathExists=|!/etc/elasticsearch/%I/elasticsearch.keystore
-
-[Service]
-Type=oneshot
-Group=elasticsearch
-UMask=0007
-Environment=ES_PATH_CONF=/etc/elasticsearch/%I
-ExecStart=/usr/share/elasticsearch/bin/elasticsearch-keystore create
-RemainAfterExit=yes

Copied: elasticsearch/repos/community-any/elasticsearch-keystore at .service (from rev 357294, elasticsearch/trunk/elasticsearch-keystore at .service)
===================================================================
--- elasticsearch-keystore at .service	                        (rev 0)
+++ elasticsearch-keystore at .service	2018-07-11 11:35:07 UTC (rev 357295)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Elasticsearch Keystore Generation
+ConditionPathExists=|!/etc/elasticsearch/%I/elasticsearch.keystore
+
+[Service]
+Type=oneshot
+Group=elasticsearch
+UMask=0007
+Environment=ES_PATH_CONF=/etc/elasticsearch/%I
+ExecStart=/usr/share/elasticsearch/bin/elasticsearch-keystore create
+RemainAfterExit=yes

Deleted: elasticsearch-sysctl.conf
===================================================================
--- elasticsearch-sysctl.conf	2018-07-11 11:34:47 UTC (rev 357294)
+++ elasticsearch-sysctl.conf	2018-07-11 11:35:07 UTC (rev 357295)
@@ -1 +0,0 @@
-vm.max_map_count=262144
\ No newline at end of file

Copied: elasticsearch/repos/community-any/elasticsearch-sysctl.conf (from rev 357294, elasticsearch/trunk/elasticsearch-sysctl.conf)
===================================================================
--- elasticsearch-sysctl.conf	                        (rev 0)
+++ elasticsearch-sysctl.conf	2018-07-11 11:35:07 UTC (rev 357295)
@@ -0,0 +1 @@
+vm.max_map_count=262144
\ No newline at end of file

Deleted: elasticsearch-tmpfile.conf
===================================================================
--- elasticsearch-tmpfile.conf	2018-07-11 11:34:47 UTC (rev 357294)
+++ elasticsearch-tmpfile.conf	2018-07-11 11:35:07 UTC (rev 357295)
@@ -1,6 +0,0 @@
-d /var/log/elasticsearch 0755 elasticsearch elasticsearch -
-d /var/lib/elasticsearch 0755 elasticsearch elasticsearch -
-d /usr/share/elasticsearch/plugins 0755 elasticsearch elasticsearch -
-
-d /etc/elasticsearch 0750 - elasticsearch -
-d /etc/elasticsearch/scripts 0750 - elasticsearch -

Copied: elasticsearch/repos/community-any/elasticsearch-tmpfile.conf (from rev 357294, elasticsearch/trunk/elasticsearch-tmpfile.conf)
===================================================================
--- elasticsearch-tmpfile.conf	                        (rev 0)
+++ elasticsearch-tmpfile.conf	2018-07-11 11:35:07 UTC (rev 357295)
@@ -0,0 +1,6 @@
+d /var/log/elasticsearch 0755 elasticsearch elasticsearch -
+d /var/lib/elasticsearch 0755 elasticsearch elasticsearch -
+d /usr/share/elasticsearch/plugins 0755 elasticsearch elasticsearch -
+
+d /etc/elasticsearch 0750 - elasticsearch -
+d /etc/elasticsearch/scripts 0750 - elasticsearch -

Deleted: elasticsearch-user.conf
===================================================================
--- elasticsearch-user.conf	2018-07-11 11:34:47 UTC (rev 357294)
+++ elasticsearch-user.conf	2018-07-11 11:35:07 UTC (rev 357295)
@@ -1 +0,0 @@
-u elasticsearch - "Elasticsearch user"

Copied: elasticsearch/repos/community-any/elasticsearch-user.conf (from rev 357294, elasticsearch/trunk/elasticsearch-user.conf)
===================================================================
--- elasticsearch-user.conf	                        (rev 0)
+++ elasticsearch-user.conf	2018-07-11 11:35:07 UTC (rev 357295)
@@ -0,0 +1 @@
+u elasticsearch - "Elasticsearch user"

Deleted: elasticsearch.default
===================================================================
--- elasticsearch.default	2018-07-11 11:34:47 UTC (rev 357294)
+++ elasticsearch.default	2018-07-11 11:35:07 UTC (rev 357295)
@@ -1,13 +0,0 @@
-JAVA_HOME=/usr/lib/jvm/default-runtime
-
-# Heap Size (defaults to 256m min, 1g max)
-#ES_HEAP_SIZE=1g
-
-# Heap new generation
-#ES_HEAP_NEWSIZE=
-
-# max direct memory
-#ES_DIRECT_SIZE=
-
-# Additional Java OPTS
-#ES_JAVA_OPTS=

Copied: elasticsearch/repos/community-any/elasticsearch.default (from rev 357294, elasticsearch/trunk/elasticsearch.default)
===================================================================
--- elasticsearch.default	                        (rev 0)
+++ elasticsearch.default	2018-07-11 11:35:07 UTC (rev 357295)
@@ -0,0 +1,13 @@
+JAVA_HOME=/usr/lib/jvm/default-runtime
+
+# Heap Size (defaults to 256m min, 1g max)
+#ES_HEAP_SIZE=1g
+
+# Heap new generation
+#ES_HEAP_NEWSIZE=
+
+# max direct memory
+#ES_DIRECT_SIZE=
+
+# Additional Java OPTS
+#ES_JAVA_OPTS=

Deleted: elasticsearch.service
===================================================================
--- elasticsearch.service	2018-07-11 11:34:47 UTC (rev 357294)
+++ elasticsearch.service	2018-07-11 11:35:07 UTC (rev 357295)
@@ -1,40 +0,0 @@
-[Unit]
-Description=Elasticsearch
-Documentation=http://www.elastic.co
-Wants=elasticsearch-keystore.service
-Wants=network.target
-After=elasticsearch-keystore.service
-After=network.target
-
-[Service]
-Type=forking
-RuntimeDirectory=elasticsearch
-PIDFile=/run/elasticsearch/elasticsearch.pid
-
-Environment=JAVA_HOME=/usr/lib/jvm/default-runtime
-EnvironmentFile=-/etc/default/elasticsearch
-Environment=ES_PATH_CONF=/etc/elasticsearch
-Environment=ES_TMPDIR=/tmp
-
-PrivateTmp=true
-WorkingDirectory=/usr/share/elasticsearch
-
-User=elasticsearch
-Group=elasticsearch
-
-ExecStart=/usr/share/elasticsearch/bin/elasticsearch -d \
-            -p /run/elasticsearch/elasticsearch.pid
-
-LimitNOFILE=65536
-LimitNPROC=4096
-LimitAS=infinity
-LimitFSIZE=infinity
-
-Restart=on-failure
-KillMode=process
-SendSIGKILL=no
-TimeoutStopSec=0
-SuccessExitStatus=143
-
-[Install]
-WantedBy=multi-user.target

Copied: elasticsearch/repos/community-any/elasticsearch.service (from rev 357294, elasticsearch/trunk/elasticsearch.service)
===================================================================
--- elasticsearch.service	                        (rev 0)
+++ elasticsearch.service	2018-07-11 11:35:07 UTC (rev 357295)
@@ -0,0 +1,40 @@
+[Unit]
+Description=Elasticsearch
+Documentation=http://www.elastic.co
+Wants=elasticsearch-keystore.service
+Wants=network.target
+After=elasticsearch-keystore.service
+After=network.target
+
+[Service]
+Type=forking
+RuntimeDirectory=elasticsearch
+PIDFile=/run/elasticsearch/elasticsearch.pid
+
+Environment=JAVA_HOME=/usr/lib/jvm/default-runtime
+EnvironmentFile=-/etc/default/elasticsearch
+Environment=ES_PATH_CONF=/etc/elasticsearch
+Environment=ES_TMPDIR=/tmp
+
+PrivateTmp=true
+WorkingDirectory=/usr/share/elasticsearch
+
+User=elasticsearch
+Group=elasticsearch
+
+ExecStart=/usr/share/elasticsearch/bin/elasticsearch -d \
+            -p /run/elasticsearch/elasticsearch.pid
+
+LimitNOFILE=65536
+LimitNPROC=4096
+LimitAS=infinity
+LimitFSIZE=infinity
+
+Restart=on-failure
+KillMode=process
+SendSIGKILL=no
+TimeoutStopSec=0
+SuccessExitStatus=143
+
+[Install]
+WantedBy=multi-user.target

Deleted: elasticsearch at .service
===================================================================
--- elasticsearch at .service	2018-07-11 11:34:47 UTC (rev 357294)
+++ elasticsearch at .service	2018-07-11 11:35:07 UTC (rev 357295)
@@ -1,40 +0,0 @@
-[Unit]
-Description=Elasticsearch
-Documentation=http://www.elastic.co
-Wants=elasticsearch-keystore@%I.service
-Wants=network.target
-After=elasticsearch-keystore@%I.service
-After=network.target
-
-[Service]
-Type=forking
-RuntimeDirectory=elasticsearch
-PIDFile=/run/elasticsearch/%I.pid
-
-Environment=JAVA_HOME=/usr/lib/jvm/default-runtime
-EnvironmentFile=-/etc/default/elasticsearch
-Environment=ES_PATH_CONF=/etc/elasticsearch/%I
-Environment=ES_TMPDIR=/tmp
-
-PrivateTmp=true
-WorkingDirectory=/usr/share/elasticsearch
-
-User=elasticsearch
-Group=elasticsearch
-
-ExecStart=/usr/share/elasticsearch/bin/elasticsearch -d \
-            -p /run/elasticsearch/%I.pid
-
-LimitNOFILE=65536
-LimitNPROC=4096
-LimitAS=infinity
-LimitFSIZE=infinity
-
-Restart=on-failure
-KillMode=process
-SendSIGKILL=no
-TimeoutStopSec=0
-SuccessExitStatus=143
-
-[Install]
-WantedBy=multi-user.target

Copied: elasticsearch/repos/community-any/elasticsearch at .service (from rev 357294, elasticsearch/trunk/elasticsearch at .service)
===================================================================
--- elasticsearch at .service	                        (rev 0)
+++ elasticsearch at .service	2018-07-11 11:35:07 UTC (rev 357295)
@@ -0,0 +1,40 @@
+[Unit]
+Description=Elasticsearch
+Documentation=http://www.elastic.co
+Wants=elasticsearch-keystore@%I.service
+Wants=network.target
+After=elasticsearch-keystore@%I.service
+After=network.target
+
+[Service]
+Type=forking
+RuntimeDirectory=elasticsearch
+PIDFile=/run/elasticsearch/%I.pid
+
+Environment=JAVA_HOME=/usr/lib/jvm/default-runtime
+EnvironmentFile=-/etc/default/elasticsearch
+Environment=ES_PATH_CONF=/etc/elasticsearch/%I
+Environment=ES_TMPDIR=/tmp
+
+PrivateTmp=true
+WorkingDirectory=/usr/share/elasticsearch
+
+User=elasticsearch
+Group=elasticsearch
+
+ExecStart=/usr/share/elasticsearch/bin/elasticsearch -d \
+            -p /run/elasticsearch/%I.pid
+
+LimitNOFILE=65536
+LimitNPROC=4096
+LimitAS=infinity
+LimitFSIZE=infinity
+
+Restart=on-failure
+KillMode=process
+SendSIGKILL=no
+TimeoutStopSec=0
+SuccessExitStatus=143
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list