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.

Tags: ,

Copyright © 2010-2024 4Aiur All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.