[packages/graphite-web] su for logrotate 3.8+
glen
glen at pld-linux.org
Thu Apr 11 13:08:08 CEST 2013
commit fc3c9697830ffe5a72dec357331c5c724f347f15
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Apr 11 14:07:57 2013 +0300
su for logrotate 3.8+
graphite-web.logrotate | 13 +++++++------
graphite-web.spec | 3 ++-
2 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/graphite-web.spec b/graphite-web.spec
index 632edbc..9b3a53b 100644
--- a/graphite-web.spec
+++ b/graphite-web.spec
@@ -1,7 +1,7 @@
Summary: A Django webapp for enterprise scalable realtime graphing
Name: graphite-web
Version: 0.9.10
-Release: 0.8
+Release: 0.9
License: Apache v2.0
Group: Applications/WWW
Source0: https://github.com/downloads/graphite-project/graphite-web/%{name}-%{version}.tar.gz
@@ -22,6 +22,7 @@ Requires: python-pytz
Requires: python-simplejson
Requires: python-whisper
Requires: webapps
+Conflicts: logrotate < 3.8.0
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
diff --git a/graphite-web.logrotate b/graphite-web.logrotate
index 155767d..b11aef8 100644
--- a/graphite-web.logrotate
+++ b/graphite-web.logrotate
@@ -1,8 +1,9 @@
/var/log/graphite-web/*.log {
- rotate 7
- missingok
- notifempty
- copytruncate
- daily
- compress
+ su root http
+ rotate 7
+ missingok
+ notifempty
+ copytruncate
+ daily
+ compress
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/graphite-web.git/commitdiff/fc3c9697830ffe5a72dec357331c5c724f347f15
More information about the pld-cvs-commit
mailing list