Search
SailfishOS Open Build Service
>
Projects
>
home:ryukafalz
:
branches:home:tbr
>
tor
> tor-0.2.4.x-logrotate.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File tor-0.2.4.x-logrotate.patch of Package tor
From: Andreas Stieger <andreas.stieger@gmx.de> Subject: openSUSE specific logrotate fixes Date: Sun, 18 May 2014 00:10:32 +0100 Upstream: no References: * add su to logrotate config to fix W: suse-logrotate-user-writable-log-dir * use "service tor" instead of "/etc/init.d/tor" to reload after logrotate to fix logrotate on systemd-only setups without init script (by seife) --- contrib/tor.logrotate.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: tor-0.2.4.22/contrib/tor.logrotate.in =================================================================== --- tor-0.2.4.22.orig/contrib/tor.logrotate.in 2013-01-16 06:47:59.000000000 +0000 +++ tor-0.2.4.22/contrib/tor.logrotate.in 2014-05-18 00:09:09.000000000 +0100 @@ -7,8 +7,9 @@ notifempty # you may need to change the username/groupname below create 0640 _tor _tor + su _tor _tor sharedscripts postrotate - /etc/init.d/tor reload > /dev/null + /usr/sbin/service tor reload > /dev/null endscript }