Line
Link Here
|
0 |
-- tor-0.2.1.19/contrib/tor.logrotate.in |
0 |
++ tor-0.2.1.19/contrib/tor.logrotate.in |
Lines 1-4
Link Here
|
1 |
@LOCALSTATEDIR@/log/tor/*log { |
1 |
/var/log/tor/*.log { |
2 |
daily |
2 |
daily |
3 |
rotate 5 |
3 |
rotate 5 |
4 |
compress |
4 |
compress |
Lines 6-14
Link Here
|
6 |
missingok |
6 |
missingok |
7 |
notifempty |
7 |
notifempty |
8 |
# you may need to change the username/groupname below |
8 |
# you may need to change the username/groupname below |
9 |
create 0640 _tor _tor |
9 |
create 0640 tor tor |
10 |
sharedscripts |
10 |
sharedscripts |
11 |
postrotate |
11 |
postrotate |
12 |
/etc/init.d/tor reload > /dev/null |
12 |
/etc/init.d/tor reload > /dev/null || true |
13 |
endscript |
13 |
endscript |
14 |
} |
14 |
} |