[PukiWiki:wiki] BSD/FreeBSD/logrotate/ices

最終更新日: 2008/12/10 09:33:20

目次

ices 0.4

# vi /usr/local/etc/logrotate.d/ices0

/var/log/ices/*.log {
   daily
   rotate 7
   create
   nocompress
   ifempty
   missingok
   sharedscripts
   postrotate
      /bin/kill -HUP `cat /var/log/ices/ices.pid`
   endscript
}