[packages/cacti] fix logrotate su lines, them must match permissions of olddir, not rotated file
glen
glen at pld-linux.org
Fri Apr 11 12:20:08 CEST 2014
commit ecf1ffe46d2c14c6730eb9f177bc5b93dc1933d0
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Apr 11 13:19:57 2014 +0300
fix logrotate su lines, them must match permissions of olddir, not rotated file
cacti.logrotate | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/cacti.logrotate b/cacti.logrotate
index d6fdf2a..5dbc91b 100644
--- a/cacti.logrotate
+++ b/cacti.logrotate
@@ -1,6 +1,6 @@
# logrotate cacti.log
/var/log/cacti/cacti.log {
- su root http
+ su root logs
olddir /var/log/archive/cacti
rotate 7
daily
@@ -10,7 +10,7 @@
}
/var/log/cacti/poller.log {
- su cacti http
+ su root logs
missingok
olddir /var/log/archive/cacti
rotate 7
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cacti.git/commitdiff/ecf1ffe46d2c14c6730eb9f177bc5b93dc1933d0
More information about the pld-cvs-commit
mailing list