[MirrorManager PATCH] Fix killall path, add requires on psmisc for killall.

Toshio Kuratomi a.badger at gmail.com
Mon Apr 20 12:50:34 UTC 2009


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

-Toshio

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20090420/67266381/attachment.bin 


More information about the infrastructure mailing list