2018-05-25 17:58:13 +00:00
|
|
|
From 954ab51516734aaeed01a195a6e70b825b0bf10a Mon Sep 17 00:00:00 2001
|
2014-09-24 23:34:32 +00:00
|
|
|
From: Chris Leech <cleech@redhat.com>
|
|
|
|
Date: Wed, 17 Sep 2014 09:58:39 -0700
|
2018-05-25 17:58:13 +00:00
|
|
|
Subject: [PATCH 16/32] updates to iscsi.service
|
2014-09-24 23:34:32 +00:00
|
|
|
|
|
|
|
Resolves: #1126524
|
|
|
|
Resolves: #1111925
|
|
|
|
---
|
|
|
|
etc/systemd/iscsi.service | 10 +++++-----
|
|
|
|
1 file changed, 5 insertions(+), 5 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/etc/systemd/iscsi.service b/etc/systemd/iscsi.service
|
2018-05-25 15:15:09 +00:00
|
|
|
index 3de76c5b07ec..ad7be34d5918 100644
|
2014-09-24 23:34:32 +00:00
|
|
|
--- a/etc/systemd/iscsi.service
|
|
|
|
+++ b/etc/systemd/iscsi.service
|
|
|
|
@@ -5,17 +5,17 @@ DefaultDependencies=no
|
|
|
|
Conflicts=shutdown.target
|
|
|
|
After=systemd-remount-fs.service network.target iscsid.service iscsiuio.service
|
|
|
|
Before=remote-fs-pre.target
|
|
|
|
+Wants=remote-fs-pre.target
|
|
|
|
ConditionDirectoryNotEmpty=|/var/lib/iscsi/nodes
|
|
|
|
ConditionDirectoryNotEmpty=|/sys/class/iscsi_session
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=true
|
|
|
|
-ExecStart=/usr/libexec/iscsi-mark-root-nodes
|
|
|
|
-SuccessExitStatus=21
|
|
|
|
-ExecStart=/sbin/iscsiadm -m node --loginall=automatic
|
|
|
|
-ExecStop=/sbin/iscsiadm -m node --logoutall=automatic
|
|
|
|
-ExecReload=/sbin/iscsiadm -m node --loginall=automatic
|
|
|
|
+ExecStart=-/usr/libexec/iscsi-mark-root-nodes
|
|
|
|
+ExecStart=-/sbin/iscsiadm -m node --loginall=automatic
|
|
|
|
+ExecStop=-/sbin/iscsiadm -m node --logoutall=automatic
|
|
|
|
+ExecReload=-/sbin/iscsiadm -m node --loginall=automatic
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=sysinit.target
|
|
|
|
--
|
2018-05-25 17:58:13 +00:00
|
|
|
2.14.4
|
2014-09-24 23:34:32 +00:00
|
|
|
|