summaryrefslogtreecommitdiffstats
path: root/network/tor/logrotate.tor
diff options
context:
space:
mode:
author Marco Bonetti <sid77@slackware.it>2010-06-16 08:33:16 -0500
committer Robby Workman <rworkman@slackbuilds.org>2010-06-16 08:33:16 -0500
commit3a95745cbfb98959c4d4070ef7757b70e2979e5e (patch)
treec1e13c6c8e3ce7843322274b8dde477ad201c076 /network/tor/logrotate.tor
parente5caa41352d6e4abe04009ee7172c85dd0be9280 (diff)
downloadslackbuilds-3a95745cbfb98959c4d4070ef7757b70e2979e5e.tar.gz
slackbuilds-3a95745cbfb98959c4d4070ef7757b70e2979e5e.tar.xz
network/tor: Updated for version 0.2.1.26.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/tor/logrotate.tor')
-rw-r--r--network/tor/logrotate.tor14
1 files changed, 14 insertions, 0 deletions
diff --git a/network/tor/logrotate.tor b/network/tor/logrotate.tor
new file mode 100644
index 0000000000..7b1f8d6d8b
--- /dev/null
+++ b/network/tor/logrotate.tor
@@ -0,0 +1,14 @@
+/var/log/tor/*log {
+ daily
+ rotate 5
+ compress
+ delaycompress
+ missingok
+ notifempty
+ create 0644 tor tor
+ sharedscripts
+ postrotate
+ /etc/rc.d/rc.tor reload > /dev/null
+ endscript
+}
+