diff --git a/ez-ipupdate.init b/ez-ipupdate.init index decd373..4dffba2 100644 --- a/ez-ipupdate.init +++ b/ez-ipupdate.init @@ -42,6 +42,11 @@ start() { # 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 diff --git a/ez-ipupdate.spec b/ez-ipupdate.spec index 1580db0..21ef8f0 100644 --- a/ez-ipupdate.spec +++ b/ez-ipupdate.spec @@ -1,6 +1,6 @@ Name: ez-ipupdate Version: 3.0.11 -Release: 0.15.b8%{?dist} +Release: 0.17.b8%{?dist} Summary: Client for Dynamic DNS Services Group: Applications/Internet @@ -118,6 +118,12 @@ fi %ghost %attr(0640,root,ez-ipupd) %config(noreplace,missingok) %{_sysconfdir}/ez-ipupdate/default.conf %changelog +* Tue Mar 11 2008 Jeff Layton - 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 - 3.0.11-0.16.b8 +- Autorebuild for GCC 4.3 + * Sun Jul 15 2007 Jeff Layton - 3.0.11-0.15.b8 - initscript: add LSB header and fix return values - initscript: remove /var/lock/subsys references