2017-02-09 22:40:49 +00:00
|
|
|
From f27dfc682af4758a15f37fb24ffc1dd08542d812 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
|
2017-02-09 22:40:49 +00:00
|
|
|
Subject: [PATCH 18/22] 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
|
|
|
|
index 3de76c5..ad7be34 100644
|
|
|
|
--- 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
|
|
|
|
--
|
2017-02-09 22:40:49 +00:00
|
|
|
2.9.3
|
2014-09-24 23:34:32 +00:00
|
|
|
|