diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2019-06-15 08:52:45 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2019-06-15 10:08:32 +0100 |
commit | b1c988107bbcf5b157450850bfeb54ba1ec6911d (patch) | |
tree | 86d70482199b511ab65c7eda4f120b8ec9c27556 /net-ftp/proftpd/files | |
parent | Revert "media-libs/jbig2dec: Drop old" (diff) | |
download | gentoo-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.logrotate | 11 |
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 +} |