diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2009-09-03 22:18:01 -0500 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2009-09-03 22:18:01 -0500 |
commit | dd61cb863559297b89b5b41f7320760372883b1c (patch) | |
tree | dffc4b94e59a57027727e944ca373ac9de85d6d0 /etc | |
parent | b5bb87084368edc7c8eecf8d5c3e3c366129dc4b (diff) | |
download | open-iscsi-dd61cb863559297b89b5b41f7320760372883b1c.tar.gz |
iscsid: start iscsid automatically when needed
Patch and mail from Hans de Goede:
Make iscsiadm start iscsid when needed so that iscsid will not actually
be started even if there are no iscsi disks configured yet.
From Mike Chrisite:
Orignal patch had Fedora startup string hard coded. Modified
patch so that it got read from iscsid.conf.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/iscsid.conf | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/etc/iscsid.conf b/etc/iscsid.conf index a065d53..8d986a7 100644 --- a/etc/iscsid.conf +++ b/etc/iscsid.conf @@ -14,6 +14,22 @@ #isns.address = 192.168.0.1 #isns.port = 3205 +###################### +# iscsid daemon config +###################### +# If you want iscsid to start the first time a iscsi tool +# needs to access it, instead of starting it when the init +# scripts run, set the iscsid startup command here. This +# should normally only need to be done by distro package +# maintainers. +# +# Default for Fedora and RHEL. (uncomment to activate). +# iscsid.startup = /etc/rc.d/init.d/iscsid force-start +# +# Default for upstream open-iscsi scripts (uncomment to activate). +iscsid.startup = /sbin/iscsid + + ############################# # NIC/HBA and driver settings ############################# |