[MirrorManager PATCH] Fix killall path, add requires on psmisc for killall.
Mike McGrath
mmcgrath at redhat.com
Mon Apr 20 13:07:30 UTC 2009
On Mon, 20 Apr 2009, Toshio Kuratomi wrote:
> Ricky Zhou wrote:
> > We recently got some cron mail about a wrong killall path, so here's a
> > patch to mirrormanager to fix it.
> > ---
> > mirrormanager.spec.in | 2 +-
> > server/logrotate.conf | 2 +-
> > 2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/mirrormanager.spec.in b/mirrormanager.spec.in
> > index cc154b9..8c3d08f 100644
> > --- a/mirrormanager.spec.in
> > +++ b/mirrormanager.spec.in
> > @@ -10,7 +10,7 @@ URL: http://fedorahosted.org/mirrormanager
> > Source0: https://fedorahosted.org/releases/m/i/%{name}/%{name}-%{version}.tar.bz2
> > BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
> > BuildRequires: python
> > -Requires: TurboGears, python-IPy, python-GeoIP, wget, yum
> > +Requires: TurboGears, python-IPy, python-GeoIP, wget, yum, psmisc
> >
> > %define py_ver %(echo `python -c "import sys; print sys.version[:3]"`)
> > %if "%{py_ver}" < "2.5"
> > diff --git a/server/logrotate.conf b/server/logrotate.conf
> > index ec473e7..733de26 100644
> > --- a/server/logrotate.conf
> > +++ b/server/logrotate.conf
> > @@ -13,6 +13,6 @@
> > dateext
> > rotate 15
> > postrotate
> > - /sbin/killall -HUP crawler_perhost
> > + /usr/bin/killall -HUP crawler_perhost
> > endscript
> > }
> >
> +1
> Thanks, ricky
>
+1
-Mike
More information about the infrastructure
mailing list