Bug #853

func logs do not rotate

Added by jams over 11 years ago. Updated over 11 years ago.

Status:Closed Start date:10/11/2012
Priority:Normal Due date:
Assignee:jams % Done:

0%

Category:Packages: Core Spent time: 0.50 hour
Target version:8.0

History

Updated by jams over 11 years ago

  • Status changed from New to Closed

save this to /etc/logrotate.d/func File mode should be 644

/var/log/func/audit.log {
missingok
notifempty
rotate 0
compress
size 512k
postrotate
if [ -f /service/funcd ]; then
sv restart funcd
fi
endscript
}

Also available in: Atom PDF