From 6b788095c58c749c9945a329feb80e79b381a647 Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Mar 11 2008 11:48:29 +0000 Subject: ez-ipupdate would be started a second time on runlevel changes (BZ#436616) --- 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 1b283df..21ef8f0 100644 --- a/ez-ipupdate.spec +++ b/ez-ipupdate.spec @@ -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 @@ 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