Logrotate on OpenSolaris
Posted by 4Aiur on 12/21/2010 in OpenSolaris | ∞
Logrotate on OpenSolaris
On OpenSolaris, you use the logadm command, with the actual rotation being specified in /etc/logadm.conf
logadm -v -w rsync -s 10m -C 10 \
-t '/var/log/rsync.log.%Y-%m' \
-a '/usr/sbin/svcadm restart rsync' \
/var/log/rsync.log
Testing with logadm -p now rsync seems to work just fine.