[prev in list] [next in list] [prev in thread] [next in thread]
List: nsd-users
Subject: Re: Release of NSD 3.0.4
From: Farkas Levente <lfarkas () bppiac ! hu>
Date: 2007-01-18 15:01:54
Message-ID: 45AF8BE2.1060101 () bppiac ! hu
[Download RAW message or body]
Paul Wouters wrote:
> On Thu, 18 Jan 2007, Farkas Levente wrote:
>
>> anyway i'm not really like the current spec stop the service in the pre
>> install scripts _and_ do not start it the post. this means after upgrade
>> with this rpm if the nsd runs before upgrade you have to manually start
>> it, which can be a problem eg after a nightly upgrade.
>> just my 2c.
>
> If this is the spec file I submitted, it should be doing a "condrestart",
> meaning it will restart if it was running before.
>
> I haven't looked at the new nsd yet, and currently have no acceses to my
> fedora nsd repository (that should have a similar/same nsd.spec file)
that would be fine, BUT this is in the pre part which should have to be
deleted:
-------------------------------
if [ $1 = 2 -a -f /%{_localstatedir}/run/%{name}/%{name}.pid ]; then
/sbin/service %{name} stop
fi
-------------------------------
--
Levente "Si vis pacem para bellum!"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic