summaryrefslogtreecommitdiff
path: root/debian/tor.logrotate
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2004-01-13 13:40:00 +0000
committerPeter Palfrader <peter@palfrader.org>2004-01-13 13:40:00 +0000
commit9d3cf1b4d1884d7f7e0ea39bc9fe8eae481647a2 (patch)
treef8abee2a51977b150260bfb7699a4c94b6bc6bb7 /debian/tor.logrotate
parent793c65e60fa0cf4be6cde6b6011d12291e92a969 (diff)
downloadtor-9d3cf1b4d1884d7f7e0ea39bc9fe8eae481647a2.tar.gz
tor-9d3cf1b4d1884d7f7e0ea39bc9fe8eae481647a2.zip
First go at a debian package
svn:r987
Diffstat (limited to 'debian/tor.logrotate')
-rw-r--r--debian/tor.logrotate11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/tor.logrotate b/debian/tor.logrotate
new file mode 100644
index 0000000000..cd8f0de9c0
--- /dev/null
+++ b/debian/tor.logrotate
@@ -0,0 +1,11 @@
+/var/log/tor/log {
+ daily
+ rotate 5
+ compress
+ delaycompress
+ missingok
+ notifempty
+ postrotate
+ /etc/init.d/tor reload > /dev/null
+ endscript
+}