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

Massimiliano Torromeo mtorromeo at archlinux.org
Thu May 21 16:55:17 UTC 2020


    Date: Thursday, May 21, 2020 @ 16:55:16
  Author: mtorromeo
Revision: 631332

archrelease: copy trunk to community-x86_64

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

---------------------------------+
 PKGBUILD                        |  162 +++++++++++++++++++-------------------
 elasticsearch-env               |  128 +++++++++++++++---------------
 elasticsearch-keystore.service  |   20 ++--
 elasticsearch-keystore at .service |   22 ++---
 elasticsearch-sysctl.conf       |    2 
 elasticsearch-tmpfile.conf      |   13 +--
 elasticsearch-user.conf         |    2 
 elasticsearch.default           |   26 +++---
 elasticsearch.service           |  132 +++++++++++++++---------------
 elasticsearch at .service          |  134 +++++++++++++++----------------
 10 files changed, 324 insertions(+), 317 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-21 16:54:54 UTC (rev 631331)
+++ PKGBUILD	2020-05-21 16:55:16 UTC (rev 631332)
@@ -1,81 +0,0 @@
-# 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=7.7.0
-pkgrel=1
-pkgdesc="Distributed RESTful search engine built on top of Lucene"
-arch=('x86_64')
-url="https://www.elastic.co/products/elasticsearch"
-license=('Apache')
-depends=('java-runtime-headless' 'systemd')
-source=(
-  "https://artifacts.elastic.co/downloads/$pkgname/$pkgname-oss-$pkgver-x86_64.rpm"
-  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=('df2ba7e1991dd26f3dc14aa0cf6a90b0567ca5988636ab2a70bc9a12f9a7f6ef'
-            '830bf17a9e1f88a8d6152899af2674571ecace88e202e484b56bf24f67d96e10'
-            '9e1f68ff275ef2b5f2b93d2823efc5cc9643da696fcbe09a3ea7520ada35ffba'
-            '8a76ad9a44a34eca8d6cb7ec9d8f1b01d46c114765b0a76094de8d72f0477351'
-            'bac40d87acaa5bee209ceb6dfa253009a072e9243fe3b94be42fb5cd44727d6f'
-            '22a78a165a810608188faea6f2b0b381f27b1e9d60126c3b3e729124540589a8'
-            'b3feb1e9c7e7ce6b33cea6c727728ed700332aae942ca475c3bcc1d56b9f113c'
-            '815f6a39db6f54bb40750c382ffbdc298d2c4c187ee8ea7e2f855923e2ff354b'
-            '0a344d779c550de324bfda385896caf0d728563751c176127b63ebf2354abee0'
-            'bb74e5fb8bc28f2125e015395ab05bea117b72bfc6dadbca827694b362ee0bf8')
-
-backup=('etc/elasticsearch/elasticsearch.yml'
-        'etc/elasticsearch/log4j2.properties'
-        'etc/elasticsearch/jvm.options'
-        'etc/default/elasticsearch')
-
-prepare() {
-  cd "$srcdir"
-  find usr/share/elasticsearch/bin -type f ! -name \*.jar -exec \
-    sed -r 's;source .*/(.*)-env;source /usr/share/elasticsearch/\1-env;' -i {} +
-  find usr/share/elasticsearch/bin -type f -name "elasticsearch-*" ! -name elasticsearch-bin -exec \
-    sed 's/`dirname "$0"`/$(dirname "$(realpath "$0")")/' -i {} +
-}
-
-package() {
-  cd "$pkgdir"
-  install -dm2750 etc/elasticsearch
-  install -dm750 etc/elasticsearch/{scripts,jvm.options.d}
-  install -dm755 {usr/share,var/lib,var/log}/elasticsearch
-  install -dm755 usr/bin
-
-  cd "$srcdir"
-  find etc/elasticsearch/ -type f -exec \
-    install -Dm644 {} "$pkgdir/"{} \;
-
-  cp -R usr/share/elasticsearch/{bin,lib,modules,plugins} "$pkgdir"/usr/share/elasticsearch
-
-  cd "$pkgdir"/usr/share/elasticsearch
-  rm -rf bin/elasticsearch-env
-
-  find bin/ -type f -name elasticsearch-\* ! -name elasticsearch-cli -exec \
-    ln -s ../share/elasticsearch/{} "$pkgdir"/usr/{} \;
-
-  ln -s ../../../var/log/elasticsearch logs
-  ln -s ../../../var/lib/elasticsearch data
-
-  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-x86_64/PKGBUILD (from rev 631331, elasticsearch/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-21 16:55:16 UTC (rev 631332)
@@ -0,0 +1,81 @@
+# 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=7.7.0
+pkgrel=2
+pkgdesc="Distributed RESTful search engine built on top of Lucene"
+arch=('x86_64')
+url="https://www.elastic.co/products/elasticsearch"
+license=('Apache')
+depends=('java-runtime-headless' 'systemd')
+source=(
+  "https://artifacts.elastic.co/downloads/$pkgname/$pkgname-oss-$pkgver-x86_64.rpm"
+  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=('df2ba7e1991dd26f3dc14aa0cf6a90b0567ca5988636ab2a70bc9a12f9a7f6ef'
+            'cf5a7723e029a1dea0e7c5891dd0694d4ec46b36525a1fdaa0be61b7d0ae40f5'
+            '9e1f68ff275ef2b5f2b93d2823efc5cc9643da696fcbe09a3ea7520ada35ffba'
+            '8a76ad9a44a34eca8d6cb7ec9d8f1b01d46c114765b0a76094de8d72f0477351'
+            'bac40d87acaa5bee209ceb6dfa253009a072e9243fe3b94be42fb5cd44727d6f'
+            '22a78a165a810608188faea6f2b0b381f27b1e9d60126c3b3e729124540589a8'
+            'b3feb1e9c7e7ce6b33cea6c727728ed700332aae942ca475c3bcc1d56b9f113c'
+            '815f6a39db6f54bb40750c382ffbdc298d2c4c187ee8ea7e2f855923e2ff354b'
+            '05a73496766a869134cf8a73f2de552bcf9bd1b10a3257e2cbc15f476093c9a6'
+            'bb74e5fb8bc28f2125e015395ab05bea117b72bfc6dadbca827694b362ee0bf8')
+
+backup=('etc/elasticsearch/elasticsearch.yml'
+        'etc/elasticsearch/log4j2.properties'
+        'etc/elasticsearch/jvm.options'
+        'etc/default/elasticsearch')
+
+prepare() {
+  cd "$srcdir"
+  find usr/share/elasticsearch/bin -type f ! -name \*.jar -exec \
+    sed -r 's;source .*/(.*)-env;source /usr/share/elasticsearch/\1-env;' -i {} +
+  find usr/share/elasticsearch/bin -type f -name "elasticsearch-*" ! -name elasticsearch-bin -exec \
+    sed 's/`dirname "$0"`/$(dirname "$(realpath "$0")")/' -i {} +
+}
+
+package() {
+  cd "$pkgdir"
+  install -dm2750 etc/elasticsearch
+  install -dm750 etc/elasticsearch/{scripts,jvm.options.d}
+  install -dm755 {usr/share,var/lib,var/log}/elasticsearch
+  install -dm755 usr/bin
+
+  cd "$srcdir"
+  find etc/elasticsearch/ -type f -exec \
+    install -Dm644 {} "$pkgdir/"{} \;
+
+  cp -R usr/share/elasticsearch/{bin,lib,modules,plugins} "$pkgdir"/usr/share/elasticsearch
+
+  cd "$pkgdir"/usr/share/elasticsearch
+  rm -rf bin/elasticsearch-env
+
+  find bin/ -type f -name elasticsearch-\* ! -name elasticsearch-cli -exec \
+    ln -s ../share/elasticsearch/{} "$pkgdir"/usr/{} \;
+
+  ln -s ../../../var/log/elasticsearch logs
+  ln -s ../../../var/lib/elasticsearch data
+
+  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
+}

Deleted: elasticsearch-env
===================================================================
--- elasticsearch-env	2020-05-21 16:54:54 UTC (rev 631331)
+++ elasticsearch-env	2020-05-21 16:55:16 UTC (rev 631332)
@@ -1,61 +0,0 @@
-#!/bin/bash
-
-set -e -o pipefail
-
-JAVA_HOME=${JAVA_HOME:-/usr/lib/jvm/default-runtime}
-ES_HOME=/usr/share/elasticsearch
-
-# now set the classpath
-ES_CLASSPATH="$ES_HOME/lib/*"
-
-# now set the path to java
-if [ ! -z "$JAVA_HOME" ]; then
-  JAVA="$JAVA_HOME/bin/java"
-else
-  if [ "$(uname -s)" = "Darwin" ]; then
-    # OSX has a different structure
-    JAVA="$ES_HOME/jdk/Contents/Home/bin/java"
-  else
-    JAVA="$ES_HOME/jdk/bin/java"
-  fi
-fi
-
-if [ ! -x "$JAVA" ]; then
-  echo "could not find java in JAVA_HOME or bundled at $JAVA" >&2
-  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.java_version_checker.JavaVersionChecker
-
-export HOSTNAME=$HOSTNAME
-
-if [ -z "$ES_PATH_CONF" ]; then
-  ES_PATH_CONF=/etc/elasticsearch
-fi
-
-# now make ES_PATH_CONF absolute
-ES_PATH_CONF=`cd "$ES_PATH_CONF"; pwd`
-
-ES_DISTRIBUTION_FLAVOR=default
-ES_DISTRIBUTION_TYPE=rpm
-ES_BUNDLED_JDK=false
-
-if [ -z "$ES_TMPDIR" ]; then
-  ES_TMPDIR=`"$JAVA" -cp "$ES_CLASSPATH" org.elasticsearch.tools.launchers.TempDirectory`
-fi
-
-cd "$ES_HOME"

Copied: elasticsearch/repos/community-x86_64/elasticsearch-env (from rev 631331, elasticsearch/trunk/elasticsearch-env)
===================================================================
--- elasticsearch-env	                        (rev 0)
+++ elasticsearch-env	2020-05-21 16:55:16 UTC (rev 631332)
@@ -0,0 +1,67 @@
+#!/bin/bash
+
+set -e -o pipefail
+
+JAVA_HOME=${JAVA_HOME:-/usr/lib/jvm/default-runtime}
+ES_HOME=/usr/share/elasticsearch
+
+# now set the classpath
+ES_CLASSPATH="$ES_HOME/lib/*"
+
+# now set the path to java
+if [ ! -z "$JAVA_HOME" ]; then
+  JAVA="$JAVA_HOME/bin/java"
+else
+  if [ "$(uname -s)" = "Darwin" ]; then
+    # OSX has a different structure
+    JAVA="$ES_HOME/jdk/Contents/Home/bin/java"
+  else
+    JAVA="$ES_HOME/jdk/bin/java"
+  fi
+fi
+
+if [ ! -x "$JAVA" ]; then
+  echo "could not find java in JAVA_HOME or bundled at $JAVA" >&2
+  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
+
+if [[ "$("$JAVA" -version 2>/dev/null)" =~ "Unable to map CDS archive" ]]; then
+  XSHARE="-Xshare:off"
+else
+  XSHARE="-Xshare:auto"
+fi
+
+# check the Java version
+"$JAVA" "$XSHARE" -cp "$ES_CLASSPATH" org.elasticsearch.tools.java_version_checker.JavaVersionChecker
+
+export HOSTNAME=$HOSTNAME
+
+if [ -z "$ES_PATH_CONF" ]; then
+  ES_PATH_CONF=/etc/elasticsearch
+fi
+
+# now make ES_PATH_CONF absolute
+ES_PATH_CONF=`cd "$ES_PATH_CONF"; pwd`
+
+ES_DISTRIBUTION_FLAVOR=default
+ES_DISTRIBUTION_TYPE=rpm
+ES_BUNDLED_JDK=false
+
+if [ -z "$ES_TMPDIR" ]; then
+  ES_TMPDIR=`"$JAVA" -cp "$ES_CLASSPATH" org.elasticsearch.tools.launchers.TempDirectory`
+fi
+
+cd "$ES_HOME"

Deleted: elasticsearch-keystore.service
===================================================================
--- elasticsearch-keystore.service	2020-05-21 16:54:54 UTC (rev 631331)
+++ elasticsearch-keystore.service	2020-05-21 16:55:16 UTC (rev 631332)
@@ -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-x86_64/elasticsearch-keystore.service (from rev 631331, elasticsearch/trunk/elasticsearch-keystore.service)
===================================================================
--- elasticsearch-keystore.service	                        (rev 0)
+++ elasticsearch-keystore.service	2020-05-21 16:55:16 UTC (rev 631332)
@@ -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	2020-05-21 16:54:54 UTC (rev 631331)
+++ elasticsearch-keystore at .service	2020-05-21 16:55:16 UTC (rev 631332)
@@ -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-x86_64/elasticsearch-keystore at .service (from rev 631331, elasticsearch/trunk/elasticsearch-keystore at .service)
===================================================================
--- elasticsearch-keystore at .service	                        (rev 0)
+++ elasticsearch-keystore at .service	2020-05-21 16:55:16 UTC (rev 631332)
@@ -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	2020-05-21 16:54:54 UTC (rev 631331)
+++ elasticsearch-sysctl.conf	2020-05-21 16:55:16 UTC (rev 631332)
@@ -1 +0,0 @@
-vm.max_map_count=262144
\ No newline at end of file

Copied: elasticsearch/repos/community-x86_64/elasticsearch-sysctl.conf (from rev 631331, elasticsearch/trunk/elasticsearch-sysctl.conf)
===================================================================
--- elasticsearch-sysctl.conf	                        (rev 0)
+++ elasticsearch-sysctl.conf	2020-05-21 16:55:16 UTC (rev 631332)
@@ -0,0 +1 @@
+vm.max_map_count=262144
\ No newline at end of file

Deleted: elasticsearch-tmpfile.conf
===================================================================
--- elasticsearch-tmpfile.conf	2020-05-21 16:54:54 UTC (rev 631331)
+++ elasticsearch-tmpfile.conf	2020-05-21 16:55:16 UTC (rev 631332)
@@ -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 2750 - elasticsearch -
-d /etc/elasticsearch/scripts 0750 - elasticsearch -

Copied: elasticsearch/repos/community-x86_64/elasticsearch-tmpfile.conf (from rev 631331, elasticsearch/trunk/elasticsearch-tmpfile.conf)
===================================================================
--- elasticsearch-tmpfile.conf	                        (rev 0)
+++ elasticsearch-tmpfile.conf	2020-05-21 16:55:16 UTC (rev 631332)
@@ -0,0 +1,7 @@
+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 2750 - elasticsearch -
+d /etc/elasticsearch/scripts 0750 - elasticsearch -
+d /etc/elasticsearch/jvm.options.d 0750 - elasticsearch -

Deleted: elasticsearch-user.conf
===================================================================
--- elasticsearch-user.conf	2020-05-21 16:54:54 UTC (rev 631331)
+++ elasticsearch-user.conf	2020-05-21 16:55:16 UTC (rev 631332)
@@ -1 +0,0 @@
-u elasticsearch - "Elasticsearch user"

Copied: elasticsearch/repos/community-x86_64/elasticsearch-user.conf (from rev 631331, elasticsearch/trunk/elasticsearch-user.conf)
===================================================================
--- elasticsearch-user.conf	                        (rev 0)
+++ elasticsearch-user.conf	2020-05-21 16:55:16 UTC (rev 631332)
@@ -0,0 +1 @@
+u elasticsearch - "Elasticsearch user"

Deleted: elasticsearch.default
===================================================================
--- elasticsearch.default	2020-05-21 16:54:54 UTC (rev 631331)
+++ elasticsearch.default	2020-05-21 16:55:16 UTC (rev 631332)
@@ -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-x86_64/elasticsearch.default (from rev 631331, elasticsearch/trunk/elasticsearch.default)
===================================================================
--- elasticsearch.default	                        (rev 0)
+++ elasticsearch.default	2020-05-21 16:55:16 UTC (rev 631332)
@@ -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	2020-05-21 16:54:54 UTC (rev 631331)
+++ elasticsearch.service	2020-05-21 16:55:16 UTC (rev 631332)
@@ -1,66 +0,0 @@
-[Unit]
-Description=Elasticsearch
-Documentation=http://www.elastic.co
-Wants=elasticsearch-keystore.service
-Wants=network-online.target
-After=elasticsearch-keystore.service
-After=network-online.target
-
-[Service]
-Type=notify
-RuntimeDirectory=elasticsearch
-PrivateTmp=true
-Environment=ES_HOME=/usr/share/elasticsearch
-Environment=ES_PATH_CONF=/etc/elasticsearch
-Environment=PID_DIR=/run/elasticsearch
-Environment=ES_SD_NOTIFY=true
-EnvironmentFile=-/etc/default/elasticsearch
-
-WorkingDirectory=/usr/share/elasticsearch
-
-User=elasticsearch
-Group=elasticsearch
-
-PermissionsStartOnly=true
-ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-keystore upgrade
-
-ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid
-
-# StandardOutput is configured to redirect to journalctl since
-# some error messages may be logged in standard output before
-# elasticsearch logging system is initialized. Elasticsearch
-# stores its logs in /var/log/elasticsearch and does not use
-# journalctl by default. If you also want to enable journalctl
-# logging, you can simply remove the "quiet" option from ExecStart.
-StandardOutput=journal
-StandardError=inherit
-
-# Specifies the maximum file descriptor number that can be opened by this process
-LimitNOFILE=65535
-
-# Specifies the maximum number of processes
-LimitNPROC=4096
-
-# Specifies the maximum size of virtual memory
-LimitAS=infinity
-
-# Specifies the maximum file size
-LimitFSIZE=infinity
-
-# Disable timeout logic and wait until process is stopped
-TimeoutStopSec=0
-
-# SIGTERM signal is used to stop the Java process
-KillSignal=SIGTERM
-
-# Send the signal only to the JVM rather than its control group
-KillMode=process
-
-# Java process is never killed
-SendSIGKILL=no
-
-# When a JVM receives a SIGTERM signal it exits with code 143
-SuccessExitStatus=143
-
-[Install]
-WantedBy=multi-user.target

Copied: elasticsearch/repos/community-x86_64/elasticsearch.service (from rev 631331, elasticsearch/trunk/elasticsearch.service)
===================================================================
--- elasticsearch.service	                        (rev 0)
+++ elasticsearch.service	2020-05-21 16:55:16 UTC (rev 631332)
@@ -0,0 +1,66 @@
+[Unit]
+Description=Elasticsearch
+Documentation=http://www.elastic.co
+Wants=elasticsearch-keystore.service
+Wants=network-online.target
+After=elasticsearch-keystore.service
+After=network-online.target
+
+[Service]
+Type=notify
+RuntimeDirectory=elasticsearch
+PrivateTmp=true
+Environment=ES_HOME=/usr/share/elasticsearch
+Environment=ES_PATH_CONF=/etc/elasticsearch
+Environment=PID_DIR=/run/elasticsearch
+Environment=ES_SD_NOTIFY=true
+EnvironmentFile=-/etc/default/elasticsearch
+
+WorkingDirectory=/usr/share/elasticsearch
+
+User=elasticsearch
+Group=elasticsearch
+
+PermissionsStartOnly=true
+ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-keystore upgrade
+
+ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid
+
+# StandardOutput is configured to redirect to journalctl since
+# some error messages may be logged in standard output before
+# elasticsearch logging system is initialized. Elasticsearch
+# stores its logs in /var/log/elasticsearch and does not use
+# journalctl by default. If you also want to enable journalctl
+# logging, you can simply remove the "quiet" option from ExecStart.
+StandardOutput=journal
+StandardError=inherit
+
+# Specifies the maximum file descriptor number that can be opened by this process
+LimitNOFILE=65535
+
+# Specifies the maximum number of processes
+LimitNPROC=4096
+
+# Specifies the maximum size of virtual memory
+LimitAS=infinity
+
+# Specifies the maximum file size
+LimitFSIZE=infinity
+
+# Disable timeout logic and wait until process is stopped
+TimeoutStopSec=0
+
+# SIGTERM signal is used to stop the Java process
+KillSignal=SIGTERM
+
+# Send the signal only to the JVM rather than its control group
+KillMode=process
+
+# Java process is never killed
+SendSIGKILL=no
+
+# When a JVM receives a SIGTERM signal it exits with code 143
+SuccessExitStatus=143
+
+[Install]
+WantedBy=multi-user.target

Deleted: elasticsearch at .service
===================================================================
--- elasticsearch at .service	2020-05-21 16:54:54 UTC (rev 631331)
+++ elasticsearch at .service	2020-05-21 16:55:16 UTC (rev 631332)
@@ -1,67 +0,0 @@
-[Unit]
-Description=Elasticsearch %I
-Documentation=http://www.elastic.co
-Wants=elasticsearch-keystore@%i.service
-Wants=network-online.target
-After=elasticsearch-keystore@%i.service
-After=network-online.target
-
-[Service]
-Type=notify
-RuntimeDirectory=elasticsearch
-PrivateTmp=true
-Environment=ES_HOME=/usr/share/elasticsearch
-Environment=ES_PATH_CONF=/etc/elasticsearch/%I
-Environment=PID_DIR=/run/elasticsearch
-Environment=ES_SD_NOTIFY=true
-EnvironmentFile=-/etc/default/elasticsearch
-PIDFile=/run/elasticsearch/%I.pid
-
-WorkingDirectory=/usr/share/elasticsearch
-
-User=elasticsearch
-Group=elasticsearch
-
-PermissionsStartOnly=true
-ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-keystore upgrade
-
-ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/%I.pid
-
-# StandardOutput is configured to redirect to journalctl since
-# some error messages may be logged in standard output before
-# elasticsearch logging system is initialized. Elasticsearch
-# stores its logs in /var/log/elasticsearch and does not use
-# journalctl by default. If you also want to enable journalctl
-# logging, you can simply remove the "quiet" option from ExecStart.
-StandardOutput=journal
-StandardError=inherit
-
-# Specifies the maximum file descriptor number that can be opened by this process
-LimitNOFILE=65535
-
-# Specifies the maximum number of processes
-LimitNPROC=4096
-
-# Specifies the maximum size of virtual memory
-LimitAS=infinity
-
-# Specifies the maximum file size
-LimitFSIZE=infinity
-
-# Disable timeout logic and wait until process is stopped
-TimeoutStopSec=0
-
-# SIGTERM signal is used to stop the Java process
-KillSignal=SIGTERM
-
-# Send the signal only to the JVM rather than its control group
-KillMode=process
-
-# Java process is never killed
-SendSIGKILL=no
-
-# When a JVM receives a SIGTERM signal it exits with code 143
-SuccessExitStatus=143
-
-[Install]
-WantedBy=multi-user.target

Copied: elasticsearch/repos/community-x86_64/elasticsearch at .service (from rev 631331, elasticsearch/trunk/elasticsearch at .service)
===================================================================
--- elasticsearch at .service	                        (rev 0)
+++ elasticsearch at .service	2020-05-21 16:55:16 UTC (rev 631332)
@@ -0,0 +1,67 @@
+[Unit]
+Description=Elasticsearch %I
+Documentation=http://www.elastic.co
+Wants=elasticsearch-keystore@%i.service
+Wants=network-online.target
+After=elasticsearch-keystore@%i.service
+After=network-online.target
+
+[Service]
+Type=notify
+RuntimeDirectory=elasticsearch
+PrivateTmp=true
+Environment=ES_HOME=/usr/share/elasticsearch
+Environment=ES_PATH_CONF=/etc/elasticsearch/%I
+Environment=PID_DIR=/run/elasticsearch
+Environment=ES_SD_NOTIFY=true
+EnvironmentFile=-/etc/default/elasticsearch
+PIDFile=/run/elasticsearch/%I.pid
+
+WorkingDirectory=/usr/share/elasticsearch
+
+User=elasticsearch
+Group=elasticsearch
+
+PermissionsStartOnly=true
+ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-keystore upgrade
+
+ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/%I.pid
+
+# StandardOutput is configured to redirect to journalctl since
+# some error messages may be logged in standard output before
+# elasticsearch logging system is initialized. Elasticsearch
+# stores its logs in /var/log/elasticsearch and does not use
+# journalctl by default. If you also want to enable journalctl
+# logging, you can simply remove the "quiet" option from ExecStart.
+StandardOutput=journal
+StandardError=inherit
+
+# Specifies the maximum file descriptor number that can be opened by this process
+LimitNOFILE=65535
+
+# Specifies the maximum number of processes
+LimitNPROC=4096
+
+# Specifies the maximum size of virtual memory
+LimitAS=infinity
+
+# Specifies the maximum file size
+LimitFSIZE=infinity
+
+# Disable timeout logic and wait until process is stopped
+TimeoutStopSec=0
+
+# SIGTERM signal is used to stop the Java process
+KillSignal=SIGTERM
+
+# Send the signal only to the JVM rather than its control group
+KillMode=process
+
+# Java process is never killed
+SendSIGKILL=no
+
+# When a JVM receives a SIGTERM signal it exits with code 143
+SuccessExitStatus=143
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list