[clamsmtp] fix logrotate script
Nathanael Noblet
gnat at fedoraproject.org
Fri Jun 1 06:22:33 UTC 2012
commit 3554ec058eab1c4368c14f9e8bc025545532d48f
Author: Nathanael D. Noblet <nathanael at gnat.ca>
Date: Fri Jun 1 00:20:07 2012 -0600
fix logrotate script
clamsmtp-clamd.logrotate | 2 +-
clamsmtp.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/clamsmtp-clamd.logrotate b/clamsmtp-clamd.logrotate
index 115adba..84c66a9 100644
--- a/clamsmtp-clamd.logrotate
+++ b/clamsmtp-clamd.logrotate
@@ -4,6 +4,6 @@
missingok
postrotate
- pkill -SIGHUP -f clamd.clamsmtp 2>/dev/null || :
+ kill -HUP `cat /run/clamd.clamsmtp/clamd.pid` 2 > /dev/null || :
endscript
}
diff --git a/clamsmtp.spec b/clamsmtp.spec
index 44cc1b0..a62e072 100644
--- a/clamsmtp.spec
+++ b/clamsmtp.spec
@@ -1,7 +1,7 @@
Summary: A SMTP virus scanning system
Name: clamsmtp
Version: 1.10
-Release: 8%{?dist}
+Release: 9%{?dist}
License: BSD
Group: System Environment/Daemons
Source0: http://memberwebs.com/stef/software/clamsmtp/clamsmtp-%{version}.tar.gz
@@ -139,6 +139,9 @@ exit 0
%{_mandir}/man8/clamsmtpd.8.gz
%changelog
+* Fri May 31 2012 Nathanael Noblet <nathanael at gnat.ca> - 1.10-9
+- Fix logrotate script
+
* Tue May 15 2012 Nathanael Noblet <nathanael at gnat.ca> - 1.10-8
- Fix typo in clamsmtpd.service file
More information about the scm-commits
mailing list