[MirrorManager PATCH] Fix killall path, add requires on psmisc for killall.
Ricky Zhou
ricky at fedoraproject.org
Mon Apr 20 11:31:02 UTC 2009
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.6.0.6
Thanks,
Ricky
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20090420/1446127c/attachment.bin
More information about the infrastructure
mailing list