Release of NSD 3.0.4
Farkas Levente
lfarkas at bppiac.hu
Thu Jan 18 15:01:54 UTC 2007
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!"
More information about the nsd-users
mailing list