summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-06-15 08:52:45 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2019-06-15 10:08:32 +0100
commitb1c988107bbcf5b157450850bfeb54ba1ec6911d (patch)
tree86d70482199b511ab65c7eda4f120b8ec9c27556 /net-ftp/proftpd/files
parentRevert "media-libs/jbig2dec: Drop old" (diff)
downloadgentoo-b1c988107bbcf5b157450850bfeb54ba1ec6911d.tar.gz
gentoo-b1c988107bbcf5b157450850bfeb54ba1ec6911d.tar.bz2
gentoo-b1c988107bbcf5b157450850bfeb54ba1ec6911d.zip
net-ftp/proftpd: add logrotate configuration, bug #345677
While at it: - updated to EAPI=7 - made USE=doc code unconditional to always install docs - made USE=xinetd unconditional to always install xinetd snippet Reported-by: Oleg Gawriloff Closes: https://bugs.gentoo.org/345677 Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
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
+}