summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-ftp/proftpd/files')
-rw-r--r--net-ftp/proftpd/files/proftpd.logrotate11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-ftp/proftpd/files/proftpd.logrotate b/net-ftp/proftpd/files/proftpd.logrotate
new file mode 100644
index 000000000000..cabf5193d54e
--- /dev/null
+++ b/net-ftp/proftpd/files/proftpd.logrotate
@@ -0,0 +1,11 @@
+# Syslog-ng logrotate snippet for Gentoo Linux
+
+/var/log/proftpd/*.log /var/log/xferlog {
+ compress
+ missingok
+ notifempty
+ sharedscripts
+ postrotate
+ /etc/init.d/proftpd reload > /dev/null 2>&1 || true
+ endscript
+}