From 6cb25042203a9f2fadb6a9ccdeaf280edc06a269 Mon Sep 17 00:00:00 2001 From: Jamie Nguyen Date: Feb 28 2013 12:33:27 +0000 Subject: Amend logrotate configuration file --- diff --git a/tor.logrotate b/tor.logrotate index 3677b2c..7d67feb 100644 --- a/tor.logrotate +++ b/tor.logrotate @@ -1,13 +1,13 @@ /var/log/tor/*.log { - su toranon toranon - delaycompress - notifempty - sharedscripts - missingok - postrotate - test ! -f /etc/init.d/tor || /etc/init.d/tor reload >/dev/null 2>/dev/null || : - test ! -f /etc/initng/daemon/tor.i || /sbin/ngc --restart daemon/tor >/dev/null 2>/dev/null || : - test ! -d /etc/minit/services/tor || /bin/msvc -h services/tor >/dev/null 2>/dev/null || : - test ! -f /lib/systemd/system/tor.service || /bin/systemctl reload tor.service >/dev/null 2>/dev/null || : - endscript + daily + rotate 5 + compress + delaycompress + missingok + notifempty + create 0640 toranon toranon + sharedscripts + postrotate + /bin/systemctl reload tor.service >/dev/null 2>/dev/null || : + endscript } diff --git a/tor.spec b/tor.spec index be8535e..edfdbc3 100644 --- a/tor.spec +++ b/tor.spec @@ -13,7 +13,7 @@ Name: tor Version: 0.2.3.25 -Release: 1911%{?dist} +Release: 1912%{?dist} Group: System Environment/Daemons License: BSD Summary: Anonymizing overlay network for TCP (The onion router) @@ -182,6 +182,10 @@ exit 0 %changelog +* Wed Feb 27 2013 Jamie Nguyen 0.2.3.25-1912 +- amend logrotate file to match closer with upstream defaults, and removing + references to several obsolete init systems + * Wed Feb 27 2013 Jamie Nguyen 0.2.3.25-1911 - remove tor-upstart subpackage as upstart is no longer installable within Fedora and renders the the subpackage obsolete