[cacti] update logrotate to use su (#753079)
Ken Dreyer
ktdreyer at fedoraproject.org
Fri Nov 11 15:57:26 UTC 2011
commit 77ee32e40c802e881bb7048e9d116578ec2d83cc
Author: Ken Dreyer <ktdreyer at ktdreyer.com>
Date: Fri Nov 11 08:55:46 2011 -0700
update logrotate to use su (#753079)
cacti.logrotate | 1 +
cacti.spec | 5 ++++-
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/cacti.logrotate b/cacti.logrotate
index 2d8c53c..f26b833 100644
--- a/cacti.logrotate
+++ b/cacti.logrotate
@@ -4,4 +4,5 @@
notifempty
compress
create 0664 cacti apache
+ su cacti apache
}
diff --git a/cacti.spec b/cacti.spec
index ed6b656..a6a2956 100644
--- a/cacti.spec
+++ b/cacti.spec
@@ -1,6 +1,6 @@
Name: cacti
Version: 0.8.7h
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: An rrd based graphing tool
Group: Applications/System
@@ -107,6 +107,9 @@ fi
%attr(0644,root,root) %{_localstatedir}/lib/%{name}/lib
%changelog
+* Thu Oct 27 2011 Ken Dreyer <ktdreyer at ktdreyer.com> - 0.8.7h-2
+- set logrotate to su to cacti apache when rotating (#753079)
+
* Thu Oct 27 2011 Ken Dreyer <ktdreyer at ktdreyer.com> - 0.8.7h-1
- New upstream release.
- Remove upstream'd mysql patch.
More information about the scm-commits
mailing list