iscsi-initiator-utils/0012-disable-iscsid.startup-from-iscsiadm-prefer-systemd-.patch
2017-02-09 14:41:57 -08:00

27 lines
759 B
Diff

From a76b5c01d4581cdf695d7691a79008b533efe95b Mon Sep 17 00:00:00 2001
From: Chris Leech <cleech@redhat.com>
Date: Thu, 21 Feb 2013 21:05:39 -0800
Subject: [PATCH 12/22] disable iscsid.startup from iscsiadm, prefer systemd
socket activation
---
etc/iscsid.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/etc/iscsid.conf b/etc/iscsid.conf
index 46da83f..f4c6d7c 100644
--- a/etc/iscsid.conf
+++ b/etc/iscsid.conf
@@ -17,7 +17,7 @@
# maintainers.
#
# Default for Fedora and RHEL. (uncomment to activate).
-iscsid.startup = /etc/rc.d/init.d/iscsid force-start
+#iscsid.startup = /bin/systemctl start iscsid.service
#
# Default for upstream open-iscsi scripts (uncomment to activate).
# iscsid.startup = /sbin/iscsid
--
2.9.3