- Add fix for initscript with pid file moved

This commit is contained in:
Jeremy Katz 2006-09-27 17:31:58 +00:00
parent 9b7d56fbcc
commit 9f4cdffb3d
2 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
Summary: iSCSI daemon and utility programs
Name: iscsi-initiator-utils
Version: 6.2.0.695
Release: 0.2
Release: 0.3
Source0: http://people.redhat.com/mchristi/iscsi/FC6/open-iscsi/rpm/open-iscsi-6.2.0.695.tar.bz2
Source1: iscsi.init
Patch0: open-iscsi-5.0.5.595-update-initscripts-and-docs.patch
@ -71,6 +71,9 @@ fi
%{_mandir}/*/*
%changelog
* Wed Sep 27 2006 Jeremy Katz <katzj@redhat.com> - 6.2.0.695-0.3
- Add fix for initscript with pid file moved
* Tue Sep 26 2006 Mike Christie <mchristie@redhat.com> - 6.2.0.695-0.2
- BZ 208050 - change default initiator name to reflect redhat
- Move pid from /etc/iscsi to /var/run/iscsid.pid

View File

@ -18,7 +18,7 @@ start()
{
echo -n $"Starting iSCSI initiator service: "
modprobe -q iscsi_tcp
daemon --pidfile=/etc/iscsi/iscsid.pid iscsid
daemon iscsid
RETVAL=$?
echo
[ $RETVAL -eq 0 ] || return