summaryrefslogtreecommitdiff
path: root/sysutils/logrotate/MESSAGE
blob: 9d2338e35a5ee3c469f69bf1ea00f504fa74a98a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
===========================================================================
$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
===========================================================================