open-isns: use /run instead of /var/run in systemd service file

/var/run has been deprecated by systemd, so use /run instead,
as suggested by systemd.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Chen Qi 2020-10-20 13:28:47 +08:00 committed by Khem Raj
parent 77c02587fe
commit 7a0d9990a6
2 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From 9413921d5af5e5e38541f97fee0f1aa40024a3ed Mon Sep 17 00:00:00 2001
From: Chen Qi <Qi.Chen@windriver.com>
Date: Tue, 20 Oct 2020 13:21:57 +0800
Subject: [PATCH] isnsd.socket: use /run instead of /var/run
Upstream-Status: Pending
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
isnsd.socket | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/isnsd.socket b/isnsd.socket
index 652cd46..7dfcf51 100644
--- a/isnsd.socket
+++ b/isnsd.socket
@@ -1,5 +1,5 @@
[Socket]
-ListenStream=/var/run/isnsctl
+ListenStream=/run/isnsctl
PassCredentials=true
[Socket]
--
2.17.1

View File

@ -13,7 +13,9 @@ SECTION = "net"
DEPENDS = "openssl"
SRC_URI = "git://github.com/open-iscsi/open-isns"
SRC_URI = "git://github.com/open-iscsi/open-isns \
file://0001-isnsd.socket-use-run-instead-of-var-run.patch \
"
SRCREV = "cfdbcff867ee580a71bc9c18c3a38a6057df0150"