pkgsrc/sysutils/logrotate/MESSAGE
sbd 8ad869a17b Add logrotate-3.8.1 as sysutils/logrotate
The logrotate utility is designed to simplify the administration of
log files on a system which generates a lot of log files.  Logrotate
allows for the automatic rotation compression, removal and mailing of
log files.  Logrotate can be set to handle a log file daily, weekly,
monthly or when the log file gets to a certain size.  Normally,
logrotate runs as a daily cron job.
2012-03-06 04:53:24 +00:00

13 lines
595 B
Text

===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2012/03/06 04:53:24 sbd Exp $
To set up ${PKGNAME}:
1/ modify ${PKG_SYSCONFDIR}/logrotate.conf to your needs,
or better, add your own configuration files in
${PKG_SYSCONFDIR}/logrotate.d/
2/ set up a daily cron job for logrotate in ${ROOT_USER}'s crontab;
this can be done with one of the following line:
0 0 * * * /bin/sh ${EGDIR}/logrotate.cron
0 0 * * * ${PREFIX}/bin/logrotate ${PKG_SYSCONFDIR}/logrotate.conf
===========================================================================