[packages/cacti] - rel 2; su directive for poller.log logrotate

arekm arekm at pld-linux.org
Sat Nov 30 11:30:11 CET 2013


commit c7cba47d0ddcb966b0c9c4f686978bd609d15903
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Nov 30 11:30:08 2013 +0100

    - rel 2; su directive for poller.log logrotate

 cacti.logrotate | 1 +
 cacti.spec      | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/cacti.spec b/cacti.spec
index 51434f1..f8dfb1d 100644
--- a/cacti.spec
+++ b/cacti.spec
@@ -5,7 +5,7 @@ Summary:	Cacti is a PHP frontend for rrdtool
 Summary(pl.UTF-8):	Cacti - frontend w PHP do rrdtoola
 Name:		cacti
 Version:	0.8.8b
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Applications/WWW
 Source0:	http://www.cacti.net/downloads/%{name}-%{version}.tar.gz
diff --git a/cacti.logrotate b/cacti.logrotate
index ffd23ac..d6fdf2a 100644
--- a/cacti.logrotate
+++ b/cacti.logrotate
@@ -10,6 +10,7 @@
 }
 
 /var/log/cacti/poller.log {
+	su cacti http
 	missingok
 	olddir /var/log/archive/cacti
 	rotate 7
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cacti.git/commitdiff/c7cba47d0ddcb966b0c9c4f686978bd609d15903



More information about the pld-cvs-commit mailing list