34 lines
1.4 KiB
Diff
34 lines
1.4 KiB
Diff
From 1a74557fc9676a40fe2f0dbfedf2fc7e8f97094b Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
|
|
Date: Sun, 25 Apr 2021 16:00:33 +0200
|
|
Subject: [PATCH] /var/run -> /run
|
|
|
|
---
|
|
distribution/packages/src/common/systemd/opensearch.conf | 2 +-
|
|
distribution/packages/src/common/systemd/opensearch.service | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/distribution/packages/src/common/systemd/opensearch.conf b/distribution/packages/src/common/systemd/opensearch.conf
|
|
index 1245c11a6b7e..e979c1cce109 100644
|
|
--- a/distribution/packages/src/common/systemd/opensearch.conf
|
|
+++ b/distribution/packages/src/common/systemd/opensearch.conf
|
|
@@ -1 +1 @@
|
|
-d /var/run/opensearch 0755 opensearch opensearch - -
|
|
+d /run/opensearch 0755 opensearch opensearch - -
|
|
diff --git a/distribution/packages/src/common/systemd/opensearch.service b/distribution/packages/src/common/systemd/opensearch.service
|
|
index 962dc5d2aae7..28268df5913a 100644
|
|
--- a/distribution/packages/src/common/systemd/opensearch.service
|
|
+++ b/distribution/packages/src/common/systemd/opensearch.service
|
|
@@ -10,7 +10,7 @@ RuntimeDirectory=opensearch
|
|
PrivateTmp=true
|
|
Environment=OPENSEARCH_HOME=/usr/share/opensearch
|
|
Environment=OPENSEARCH_PATH_CONF=${path.conf}
|
|
-Environment=PID_DIR=/var/run/opensearch
|
|
+Environment=PID_DIR=/run/opensearch
|
|
Environment=OPENSEARCH_SD_NOTIFY=true
|
|
EnvironmentFile=-${path.env}
|
|
|
|
--
|
|
2.26.0
|
|
|