f1a040bd40
Changes: - show error and ignore config if '{' is not present after log files declaration - support whitespaces in compressoptions directive - support for tilde expansion in config files - fixed mail sending for 'mailfirst', 'dateext' and 'delaycompress' combination - do not use gzip/gunzip from /usr/local on Solaris - Do not include alloca.h on NetBSD, since alloca() is declared in stdlib.h there
13 lines
592 B
Text
13 lines
592 B
Text
===========================================================================
|
|
$NetBSD: MESSAGE,v 1.2 2013/01/10 18:16:29 wiz 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}/sbin/logrotate ${PKG_SYSCONFDIR}/logrotate.conf
|
|
===========================================================================
|