summaryrefslogtreecommitdiff
path: root/extra/proftpd/proftpd.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'extra/proftpd/proftpd.logrotate')
-rw-r--r--extra/proftpd/proftpd.logrotate5
1 files changed, 5 insertions, 0 deletions
diff --git a/extra/proftpd/proftpd.logrotate b/extra/proftpd/proftpd.logrotate
new file mode 100644
index 000000000..7b6d7a87b
--- /dev/null
+++ b/extra/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
+}