[tor/f18] Amend logrotate configuration file

Jamie Nguyen jamielinux at fedoraproject.org
Mon Mar 4 23:14:11 UTC 2013


commit f4dcbcb0dcf8a8ae1f048c2d8181e122e60681f9
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Mon Mar 4 22:30:36 2013 +0000

    Amend logrotate configuration file

 tor.logrotate |    9 ++++++---
 tor.spec      |    3 ++-
 2 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/tor.logrotate b/tor.logrotate
index 5d6f22b..7d67feb 100644
--- a/tor.logrotate
+++ b/tor.logrotate
@@ -1,10 +1,13 @@
 /var/log/tor/*.log {
-    su toranon toranon
+    daily
+    rotate 5
+    compress
     delaycompress
+    missingok
     notifempty
+    create 0640 toranon toranon
     sharedscripts
-    missingok
-	postrotate
+    postrotate
         /bin/systemctl reload tor.service >/dev/null 2>/dev/null || :
     endscript
 }
diff --git a/tor.spec b/tor.spec
index 765847b..61b8592 100644
--- a/tor.spec
+++ b/tor.spec
@@ -195,7 +195,8 @@ exit 0
   https://fedoraproject.org/wiki/Packaging:UsersAndGroups
 - remove tor-upstart subpackage as upstart is no longer installable within
   Fedora and renders the subpackage obsolete
-
+- amend logrotate file to match closer with upstream defaults, and removing
+  references to several obsolete init systems
 
 
 * Thu Feb 07 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.2.3.25-1801


More information about the scm-commits mailing list