diff options
author | Thorsten Müller | 2022-07-25 14:21:29 +0200 |
---|---|---|
committer | Thorsten Müller | 2022-07-25 14:21:29 +0200 |
commit | e4967f95493f92ac8839064a8c1113f87cc36ad1 (patch) | |
tree | 0e113bcf8e95cb1febe42d8b81cf58c9ac573530 | |
parent | 70944fbd68f1c5f955219694d5fcefc545ea633c (diff) | |
download | aur-e4967f95493f92ac8839064a8c1113f87cc36ad1.tar.gz |
update systemd service file
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | elasticsearch.service | 8 |
3 files changed, 6 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = elasticsearch-bin pkgdesc = Log analyzer. search, store and analyze logs pkgver = 8.3.2 - pkgrel = 0 + pkgrel = 1 url = https://elastic.co install = elasticsearch.install arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: thorko contact@thorko.de pkgname=elasticsearch-bin pkgver=8.3.2 -pkgrel=0 +pkgrel=1 pkgdesc="Log analyzer. search, store and analyze logs" arch=('x86_64') url='https://elastic.co' diff --git a/elasticsearch.service b/elasticsearch.service index d15fff03901d..136ac24f6df4 100644 --- a/elasticsearch.service +++ b/elasticsearch.service @@ -7,7 +7,7 @@ After=elasticsearch-keystore.service After=network-online.target [Service] -Type=notify +Type=simple RuntimeDirectory=elasticsearch PrivateTmp=true Environment=ES_HOME=/usr/share/elasticsearch @@ -16,15 +16,15 @@ Environment=PID_DIR=/run/elasticsearch Environment=ES_SD_NOTIFY=true EnvironmentFile=-/etc/default/elasticsearch -WorkingDirectory=/usr/share/elasticsearch +WorkingDirectory=/opt/elasticsearch User=elasticsearch Group=elasticsearch PermissionsStartOnly=true -ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-keystore upgrade +ExecStartPre=/opt/elasticsearch/bin/elasticsearch-keystore upgrade -ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid +ExecStart=/opt/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 |