summaryrefslogtreecommitdiff
path: root/testing/proftpd/proftpd.logrotate
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-16 00:02:36 +0000
committerroot <root@rshg054.dnsready.net>2012-08-16 00:02:36 +0000
commit0fc1870f2eadde8cb06004be1cbe8d1a4333aa69 (patch)
tree09ae142c72b3ef3bba14bcd0fbd982446585d894 /testing/proftpd/proftpd.logrotate
parent8f1eb849d6de0031d4d91fb6d8780828b1ba924b (diff)
Thu Aug 16 00:02:36 UTC 2012
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
+}