rpms/ez-ipupdate/devel ez-ipupdate.init, 1.3, 1.4 ez-ipupdate.spec, 1.19, 1.20

Jeff Layton (jlayton) fedora-extras-commits at redhat.com
Tue Mar 11 11:49:14 UTC 2008


Author: jlayton

Update of /cvs/extras/rpms/ez-ipupdate/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9310

Modified Files:
	ez-ipupdate.init ez-ipupdate.spec 
Log Message:
ez-ipupdate would be started a second time on runlevel changes (BZ#436616)



Index: ez-ipupdate.init
===================================================================
RCS file: /cvs/extras/rpms/ez-ipupdate/devel/ez-ipupdate.init,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ez-ipupdate.init	15 Jul 2007 11:31:25 -0000	1.3
+++ ez-ipupdate.init	11 Mar 2008 11:48:29 -0000	1.4
@@ -42,6 +42,11 @@
 	    # Don't run configurations that run in foreground
 	    if grep -q '^ *foreground' ${ez_configfile}; then continue; fi
 	    ez_name=`basename $ez_configfile .conf`
+	    if [ -f $ez_piddir/$ez_name.pid ]; then
+		if status -p $ez_piddir/$ez_name.pid; then
+		    continue
+		fi
+	    fi	
 	    echo -n $"Starting $prog for $ez_name: "
 	    daemon $ez_bin --daemon --config-file $ez_configfile --pid-file $ez_piddir/$ez_name.pid
 	    [ $? -ne 0 ] && RETVAL=1


Index: ez-ipupdate.spec
===================================================================
RCS file: /cvs/extras/rpms/ez-ipupdate/devel/ez-ipupdate.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- ez-ipupdate.spec	19 Feb 2008 06:27:24 -0000	1.19
+++ ez-ipupdate.spec	11 Mar 2008 11:48:29 -0000	1.20
@@ -1,6 +1,6 @@
 Name:           ez-ipupdate
 Version:        3.0.11
-Release:        0.16.b8%{?dist}
+Release:        0.17.b8%{?dist}
 Summary:        Client for Dynamic DNS Services
 
 Group:          Applications/Internet
@@ -118,6 +118,9 @@
 %ghost %attr(0640,root,ez-ipupd) %config(noreplace,missingok) %{_sysconfdir}/ez-ipupdate/default.conf
 
 %changelog
+* Tue Mar 11 2008 Jeff Layton <jlayton at redhat.com> - 3.0.11-0.17.b8
+- ez-ipupdate would be started a second time on runlevel changes (BZ#436616)
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 3.0.11-0.16.b8
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list