summaryrefslogtreecommitdiff
path: root/testing/proftpd/proftpd.logrotate
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-11 23:15:00 +0000
committerroot <root@rshg054.dnsready.net>2011-11-11 23:15:00 +0000
commite0f64ccb05c467785eaf68b42c3e302c44aa3324 (patch)
treee6cdb653ce50a1a2e3fd5ac74a46c1bbc33441bc /testing/proftpd/proftpd.logrotate
parent4141f5b04aab597f88a617a82649a404c773469a (diff)
Fri Nov 11 23:15:00 UTC 2011
Diffstat (limited to 'testing/proftpd/proftpd.logrotate')
-rw-r--r--testing/proftpd/proftpd.logrotate5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/proftpd/proftpd.logrotate b/testing/proftpd/proftpd.logrotate
new file mode 100644
index 000000000..7b6d7a87b
--- /dev/null
+++ b/testing/proftpd/proftpd.logrotate
@@ -0,0 +1,5 @@
+/var/log/xferlog {
+ postrotate
+ /bin/kill -HUP `cat /var/run/proftpd.pid 2>/dev/null` 2>/dev/null || true
+ endscript
+}