summaryrefslogtreecommitdiff
path: root/sysutils/logrotate/MESSAGE
blob: 204292017daed335b85ea49cc33a21740a214b3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
===========================================================================
$NetBSD: MESSAGE,v 1.3 2017/03/06 12:59:53 fhajny 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 ${PREFIX}/${EGDIR}/logrotate.cron
0 0 * * * ${PREFIX}/sbin/logrotate ${PKG_SYSCONFDIR}/logrotate.conf
===========================================================================